Skip to content
Vectorlight.net

#c9151f

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

HEX
#c9151f
RGB
201, 21, 31
HSL
356.67°, 81.08%, 43.53%
OKLCH
0.53 0.21 26.46
Names
—
Lists

Codes

FormatValue
HEX#c9151f
RGBrgb(201 21 31)
HSLhsl(356.67 81.08% 43.53%)
OKLCHoklch(0.53 0.21 26.46)
CMYKcmyk(0% 89.55% 84.58% 21.18%)
Android#ffc9151f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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