Skip to content
Vectorlight.net

#d42fbd

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

HEX
#d42fbd
RGB
212, 47, 189
HSL
308.36°, 65.74%, 50.78%
OKLCH
0.61 0.24 334.7
Names
—
Lists

Codes

FormatValue
HEX#d42fbd
RGBrgb(212 47 189)
HSLhsl(308.36 65.74% 50.78%)
OKLCHoklch(0.61 0.24 334.7)
CMYKcmyk(0% 77.83% 10.85% 16.86%)
Android#ffd42fbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#d42fbd"
Gradient stop
<stop stop-color="#d42fbd"/>
CSS variable + fill
:root { --c: #d42fbd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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