Skip to content
Vectorlight.net

#cb402a

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

HEX
#cb402a
RGB
203, 64, 42
HSL
8.2°, 65.71%, 48.04%
OKLCH
0.57 0.18 31.72
Names
—
Lists

Codes

FormatValue
HEX#cb402a
RGBrgb(203 64 42)
HSLhsl(8.2 65.71% 48.04%)
OKLCHoklch(0.57 0.18 31.72)
CMYKcmyk(0% 68.47% 79.31% 20.39%)
Android#ffcb402a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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