Skip to content
Vectorlight.net

#d4097f

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

HEX
#d4097f
RGB
212, 9, 127
HSL
325.12°, 91.86%, 43.33%
OKLCH
0.57 0.23 354.69
Names
—
Lists

Codes

FormatValue
HEX#d4097f
RGBrgb(212 9 127)
HSLhsl(325.12 91.86% 43.33%)
OKLCHoklch(0.57 0.23 354.69)
CMYKcmyk(0% 95.75% 40.09% 16.86%)
Android#ffd4097f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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