Skip to content
Vectorlight.net

#d12c2f

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

HEX
#d12c2f
RGB
209, 44, 47
HSL
358.91°, 65.22%, 49.61%
OKLCH
0.56 0.2 25.83
Names
—
Lists

Codes

FormatValue
HEX#d12c2f
RGBrgb(209 44 47)
HSLhsl(358.91 65.22% 49.61%)
OKLCHoklch(0.56 0.2 25.83)
CMYKcmyk(0% 78.95% 77.51% 18.04%)
Android#ffd12c2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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