Skip to content
Vectorlight.net

#d1242d

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

HEX
#d1242d
RGB
209, 36, 45
HSL
356.88°, 70.61%, 48.04%
OKLCH
0.56 0.21 25.14
Names
—
Lists

Codes

FormatValue
HEX#d1242d
RGBrgb(209 36 45)
HSLhsl(356.88 70.61% 48.04%)
OKLCHoklch(0.56 0.21 25.14)
CMYKcmyk(0% 82.78% 78.47% 18.04%)
Android#ffd1242d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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