Skip to content
Vectorlight.net

#d22f5f

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

HEX
#d22f5f
RGB
210, 47, 95
HSL
342.33°, 64.43%, 50.39%
OKLCH
0.57 0.2 9.35
Names
—
Lists

Codes

FormatValue
HEX#d22f5f
RGBrgb(210 47 95)
HSLhsl(342.33 64.43% 50.39%)
OKLCHoklch(0.57 0.2 9.35)
CMYKcmyk(0% 77.62% 54.76% 17.65%)
Android#ffd22f5f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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