Skip to content
Vectorlight.net

#d2226e

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

HEX
#d2226e
RGB
210, 34, 110
HSL
334.09°, 72.13%, 47.84%
OKLCH
0.57 0.21 1.87
Names
—
Lists

Codes

FormatValue
HEX#d2226e
RGBrgb(210 34 110)
HSLhsl(334.09 72.13% 47.84%)
OKLCHoklch(0.57 0.21 1.87)
CMYKcmyk(0% 83.81% 47.62% 17.65%)
Android#ffd2226e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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