Skip to content
Vectorlight.net

#d2185e

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

HEX
#d2185e
RGB
210, 24, 94
HSL
337.42°, 79.49%, 45.88%
OKLCH
0.56 0.21 7.38
Names
—
Lists

Codes

FormatValue
HEX#d2185e
RGBrgb(210 24 94)
HSLhsl(337.42 79.49% 45.88%)
OKLCHoklch(0.56 0.21 7.38)
CMYKcmyk(0% 88.57% 55.24% 17.65%)
Android#ffd2185e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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