Skip to content
Vectorlight.net

#d0271f

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

HEX
#d0271f
RGB
208, 39, 31
HSL
2.71°, 74.06%, 46.86%
OKLCH
0.56 0.2 28.74
Names
—
Lists

Codes

FormatValue
HEX#d0271f
RGBrgb(208 39 31)
HSLhsl(2.71 74.06% 46.86%)
OKLCHoklch(0.56 0.2 28.74)
CMYKcmyk(0% 81.25% 85.1% 18.43%)
Android#ffd0271f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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