Skip to content
Vectorlight.net

#d50296

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#d50296
RGB
213, 2, 150
HSL
317.91°, 98.14%, 42.16%
OKLCH
0.58 0.24 346.78
Names
—
Lists

Codes

FormatValue
HEX#d50296
RGBrgb(213 2 150)
HSLhsl(317.91 98.14% 42.16%)
OKLCHoklch(0.58 0.24 346.78)
CMYKcmyk(0% 99.06% 29.58% 16.47%)
Android#ffd50296

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.27:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#d50296"
Gradient stop
<stop stop-color="#d50296"/>
CSS variable + fill
:root { --c: #d50296; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #d50296;
background-color: #d50296;
bg-[#d50296]