Skip to content
Vectorlight.net

#cb2231

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

HEX
#cb2231
RGB
203, 34, 49
HSL
354.67°, 71.31%, 46.47%
OKLCH
0.54 0.2 23.48
Names
—
Lists

Codes

FormatValue
HEX#cb2231
RGBrgb(203 34 49)
HSLhsl(354.67 71.31% 46.47%)
OKLCHoklch(0.54 0.2 23.48)
CMYKcmyk(0% 83.25% 75.86% 20.39%)
Android#ffcb2231

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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