Skip to content
Vectorlight.net

#d8402f

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

HEX
#d8402f
RGB
216, 64, 47
HSL
6.04°, 68.42%, 51.57%
OKLCH
0.59 0.19 30.07
Names
—
Lists

Codes

FormatValue
HEX#d8402f
RGBrgb(216 64 47)
HSLhsl(6.04 68.42% 51.57%)
OKLCHoklch(0.59 0.19 30.07)
CMYKcmyk(0% 70.37% 78.24% 15.29%)
Android#ffd8402f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.69:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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