Skip to content
Vectorlight.net

#cb2d2a

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

HEX
#cb2d2a
RGB
203, 45, 42
HSL
1.12°, 65.71%, 48.04%
OKLCH
0.55 0.19 27.2
Names
—
Lists

Codes

FormatValue
HEX#cb2d2a
RGBrgb(203 45 42)
HSLhsl(1.12 65.71% 48.04%)
OKLCHoklch(0.55 0.19 27.2)
CMYKcmyk(0% 77.83% 79.31% 20.39%)
Android#ffcb2d2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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