Skip to content
Vectorlight.net

#d4097c

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

HEX
#d4097c
RGB
212, 9, 124
HSL
326.01°, 91.86%, 43.33%
OKLCH
0.57 0.23 355.79
Names
—
Lists

Codes

FormatValue
HEX#d4097c
RGBrgb(212 9 124)
HSLhsl(326.01 91.86% 43.33%)
OKLCHoklch(0.57 0.23 355.79)
CMYKcmyk(0% 95.75% 41.51% 16.86%)
Android#ffd4097c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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