Skip to content
Vectorlight.net

#d0031b

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

HEX
#d0031b
RGB
208, 3, 27
HSL
352.98°, 97.16%, 41.37%
OKLCH
0.54 0.22 26.33
Names
—
Lists

Codes

FormatValue
HEX#d0031b
RGBrgb(208 3 27)
HSLhsl(352.98 97.16% 41.37%)
OKLCHoklch(0.54 0.22 26.33)
CMYKcmyk(0% 98.56% 87.02% 18.43%)
Android#ffd0031b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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