Skip to content
Vectorlight.net

#d0042d

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

HEX
#d0042d
RGB
208, 4, 45
HSL
347.94°, 96.23%, 41.57%
OKLCH
0.54 0.22 22.48
Names
—
Lists

Codes

FormatValue
HEX#d0042d
RGBrgb(208 4 45)
HSLhsl(347.94 96.23% 41.57%)
OKLCHoklch(0.54 0.22 22.48)
CMYKcmyk(0% 98.08% 78.37% 18.43%)
Android#ffd0042d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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