Skip to content
Vectorlight.net

#d8237a

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

HEX
#d8237a
RGB
216, 35, 122
HSL
331.16°, 72.11%, 49.22%
OKLCH
0.59 0.22 358.52
Names
—
Lists

Codes

FormatValue
HEX#d8237a
RGBrgb(216 35 122)
HSLhsl(331.16 72.11% 49.22%)
OKLCHoklch(0.59 0.22 358.52)
CMYKcmyk(0% 83.8% 43.52% 15.29%)
Android#ffd8237a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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