Skip to content
Vectorlight.net

#cb282a

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

HEX
#cb282a
RGB
203, 40, 42
HSL
359.26°, 67.08%, 47.65%
OKLCH
0.55 0.2 26.32
Names
—
Lists

Codes

FormatValue
HEX#cb282a
RGBrgb(203 40 42)
HSLhsl(359.26 67.08% 47.65%)
OKLCHoklch(0.55 0.2 26.32)
CMYKcmyk(0% 80.3% 79.31% 20.39%)
Android#ffcb282a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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