Skip to content
Vectorlight.net

#d2154c

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

HEX
#d2154c
RGB
210, 21, 76
HSL
342.54°, 81.82%, 45.29%
OKLCH
0.56 0.21 13.88
Names
—
Lists

Codes

FormatValue
HEX#d2154c
RGBrgb(210 21 76)
HSLhsl(342.54 81.82% 45.29%)
OKLCHoklch(0.56 0.21 13.88)
CMYKcmyk(0% 90% 63.81% 17.65%)
Android#ffd2154c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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