Skip to content
Vectorlight.net

#d8237c

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

HEX
#d8237c
RGB
216, 35, 124
HSL
330.5°, 72.11%, 49.22%
OKLCH
0.59 0.22 357.76
Names
—
Lists

Codes

FormatValue
HEX#d8237c
RGBrgb(216 35 124)
HSLhsl(330.5 72.11% 49.22%)
OKLCHoklch(0.59 0.22 357.76)
CMYKcmyk(0% 83.8% 42.59% 15.29%)
Android#ffd8237c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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