Skip to content
Vectorlight.net

#d42cbb

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

HEX
#d42cbb
RGB
212, 44, 187
HSL
308.93°, 66.14%, 50.2%
OKLCH
0.61 0.24 335.28
Names
—
Lists

Codes

FormatValue
HEX#d42cbb
RGBrgb(212 44 187)
HSLhsl(308.93 66.14% 50.2%)
OKLCHoklch(0.61 0.24 335.28)
CMYKcmyk(0% 79.25% 11.79% 16.86%)
Android#ffd42cbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.30:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.87: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="#d42cbb"
Gradient stop
<stop stop-color="#d42cbb"/>
CSS variable + fill
:root { --c: #d42cbb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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