Skip to content
Vectorlight.net

#d02a1e

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

HEX
#d02a1e
RGB
208, 42, 30
HSL
4.04°, 74.79%, 46.67%
OKLCH
0.56 0.2 29.4
Names
—
Lists

Codes

FormatValue
HEX#d02a1e
RGBrgb(208 42 30)
HSLhsl(4.04 74.79% 46.67%)
OKLCHoklch(0.56 0.2 29.4)
CMYKcmyk(0% 79.81% 85.58% 18.43%)
Android#ffd02a1e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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