Skip to content
Vectorlight.net

#d42ccb

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

HEX
#d42ccb
RGB
212, 44, 203
HSL
303.21°, 66.14%, 50.2%
OKLCH
0.62 0.25 330.62
Names
—
Lists

Codes

FormatValue
HEX#d42ccb
RGBrgb(212 44 203)
HSLhsl(303.21 66.14% 50.2%)
OKLCHoklch(0.62 0.25 330.62)
CMYKcmyk(0% 79.25% 4.25% 16.86%)
Android#ffd42ccb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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