Skip to content
Vectorlight.net

#d1242e

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

HEX
#d1242e
RGB
209, 36, 46
HSL
356.53°, 70.61%, 48.04%
OKLCH
0.56 0.21 24.88
Names
—
Lists

Codes

FormatValue
HEX#d1242e
RGBrgb(209 36 46)
HSLhsl(356.53 70.61% 48.04%)
OKLCHoklch(0.56 0.21 24.88)
CMYKcmyk(0% 82.78% 77.99% 18.04%)
Android#ffd1242e

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="#d1242e"
Gradient stop
<stop stop-color="#d1242e"/>
CSS variable + fill
:root { --c: #d1242e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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