Skip to content
Vectorlight.net

#cb001f

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

HEX
#cb001f
RGB
203, 0, 31
HSL
350.84°, 100%, 39.8%
OKLCH
0.53 0.22 25.25
Names
—
Lists

Codes

FormatValue
HEX#cb001f
RGBrgb(203 0 31)
HSLhsl(350.84 100% 39.8%)
OKLCHoklch(0.53 0.22 25.25)
CMYKcmyk(0% 100% 84.73% 20.39%)
Android#ffcb001f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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