Skip to content
Vectorlight.net

#cb0138

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

HEX
#cb0138
RGB
203, 1, 56
HSL
343.66°, 99.02%, 40%
OKLCH
0.53 0.21 18.77
Names
—
Lists

Codes

FormatValue
HEX#cb0138
RGBrgb(203 1 56)
HSLhsl(343.66 99.02% 40%)
OKLCHoklch(0.53 0.21 18.77)
CMYKcmyk(0% 99.51% 72.41% 20.39%)
Android#ffcb0138

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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