Skip to content
Vectorlight.net

#d22818

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

HEX
#d22818
RGB
210, 40, 24
HSL
5.16°, 79.49%, 45.88%
OKLCH
0.56 0.21 30.1
Names
—
Lists

Codes

FormatValue
HEX#d22818
RGBrgb(210 40 24)
HSLhsl(5.16 79.49% 45.88%)
OKLCHoklch(0.56 0.21 30.1)
CMYKcmyk(0% 80.95% 88.57% 17.65%)
Android#ffd22818

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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