Skip to content
Vectorlight.net

#ca281b

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

HEX
#ca281b
RGB
202, 40, 27
HSL
4.46°, 76.42%, 44.9%
OKLCH
0.54 0.2 29.66
Names
—
Lists

Codes

FormatValue
HEX#ca281b
RGBrgb(202 40 27)
HSLhsl(4.46 76.42% 44.9%)
OKLCHoklch(0.54 0.2 29.66)
CMYKcmyk(0% 80.2% 86.63% 20.78%)
Android#ffca281b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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