Skip to content
Vectorlight.net

#d0012e

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

HEX
#d0012e
RGB
208, 1, 46
HSL
346.96°, 99.04%, 40.98%
OKLCH
0.54 0.22 22.08
Names
—
Lists

Codes

FormatValue
HEX#d0012e
RGBrgb(208 1 46)
HSLhsl(346.96 99.04% 40.98%)
OKLCHoklch(0.54 0.22 22.08)
CMYKcmyk(0% 99.52% 77.88% 18.43%)
Android#ffd0012e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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