Skip to content
Vectorlight.net

#cf170f

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

HEX
#cf170f
RGB
207, 23, 15
HSL
2.5°, 86.49%, 43.53%
OKLCH
0.54 0.21 29.25
Names
—
Lists

Codes

FormatValue
HEX#cf170f
RGBrgb(207 23 15)
HSLhsl(2.5 86.49% 43.53%)
OKLCHoklch(0.54 0.21 29.25)
CMYKcmyk(0% 88.89% 92.75% 18.82%)
Android#ffcf170f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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