Skip to content
Vectorlight.net

#cb1218

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

HEX
#cb1218
RGB
203, 18, 24
HSL
358.05°, 83.71%, 43.33%
OKLCH
0.53 0.21 27.56
Names
—
Lists

Codes

FormatValue
HEX#cb1218
RGBrgb(203 18 24)
HSLhsl(358.05 83.71% 43.33%)
OKLCHoklch(0.53 0.21 27.56)
CMYKcmyk(0% 91.13% 88.18% 20.39%)
Android#ffcb1218

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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