Skip to content
Vectorlight.net

#cb402b

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

HEX
#cb402b
RGB
203, 64, 43
HSL
7.88°, 65.04%, 48.24%
OKLCH
0.57 0.18 31.45
Names
—
Lists

Codes

FormatValue
HEX#cb402b
RGBrgb(203 64 43)
HSLhsl(7.88 65.04% 48.24%)
OKLCHoklch(0.57 0.18 31.45)
CMYKcmyk(0% 68.47% 78.82% 20.39%)
Android#ffcb402b

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="#cb402b"
Gradient stop
<stop stop-color="#cb402b"/>
CSS variable + fill
:root { --c: #cb402b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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