Skip to content
Vectorlight.net

#d22822

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

HEX
#d22822
RGB
210, 40, 34
HSL
2.05°, 72.13%, 47.84%
OKLCH
0.56 0.21 28.3
Names
—
Lists

Codes

FormatValue
HEX#d22822
RGBrgb(210 40 34)
HSLhsl(2.05 72.13% 47.84%)
OKLCHoklch(0.56 0.21 28.3)
CMYKcmyk(0% 80.95% 83.81% 17.65%)
Android#ffd22822

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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