Skip to content
Vectorlight.net

#d22872

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

HEX
#d22872
RGB
210, 40, 114
HSL
333.88°, 68%, 49.02%
OKLCH
0.58 0.21 0.8
Names
—
Lists

Codes

FormatValue
HEX#d22872
RGBrgb(210 40 114)
HSLhsl(333.88 68% 49.02%)
OKLCHoklch(0.58 0.21 0.8)
CMYKcmyk(0% 80.95% 45.71% 17.65%)
Android#ffd22872

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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