Skip to content
Vectorlight.net

#d12228

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

HEX
#d12228
RGB
209, 34, 40
HSL
357.94°, 72.02%, 47.65%
OKLCH
0.55 0.21 26.12
Names
—
Lists

Codes

FormatValue
HEX#d12228
RGBrgb(209 34 40)
HSLhsl(357.94 72.02% 47.65%)
OKLCHoklch(0.55 0.21 26.12)
CMYKcmyk(0% 83.73% 80.86% 18.04%)
Android#ffd12228

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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