Skip to content
Vectorlight.net

#cf302a

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

HEX
#cf302a
RGB
207, 48, 42
HSL
2.18°, 66.27%, 48.82%
OKLCH
0.56 0.2 27.83
Names
—
Lists

Codes

FormatValue
HEX#cf302a
RGBrgb(207 48 42)
HSLhsl(2.18 66.27% 48.82%)
OKLCHoklch(0.56 0.2 27.83)
CMYKcmyk(0% 76.81% 79.71% 18.82%)
Android#ffcf302a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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