Skip to content
Vectorlight.net

#d6040f

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

HEX
#d6040f
RGB
214, 4, 15
HSL
356.86°, 96.33%, 42.75%
OKLCH
0.55 0.22 28.14
Names
—
Lists

Codes

FormatValue
HEX#d6040f
RGBrgb(214 4 15)
HSLhsl(356.86 96.33% 42.75%)
OKLCHoklch(0.55 0.22 28.14)
CMYKcmyk(0% 98.13% 92.99% 16.08%)
Android#ffd6040f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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