Skip to content
Vectorlight.net

#cb221a

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

HEX
#cb221a
RGB
203, 34, 26
HSL
2.71°, 77.29%, 44.9%
OKLCH
0.54 0.2 28.92
Names
—
Lists

Codes

FormatValue
HEX#cb221a
RGBrgb(203 34 26)
HSLhsl(2.71 77.29% 44.9%)
OKLCHoklch(0.54 0.2 28.92)
CMYKcmyk(0% 83.25% 87.19% 20.39%)
Android#ffcb221a

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

Recolor an SVG with this color

CSS

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