Skip to content
Vectorlight.net

#cf271f

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

HEX
#cf271f
RGB
207, 39, 31
HSL
2.73°, 73.95%, 46.67%
OKLCH
0.55 0.2 28.74
Names
—
Lists

Codes

FormatValue
HEX#cf271f
RGBrgb(207 39 31)
HSLhsl(2.73 73.95% 46.67%)
OKLCHoklch(0.55 0.2 28.74)
CMYKcmyk(0% 81.16% 85.02% 18.82%)
Android#ffcf271f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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