Skip to content
Vectorlight.net

#c8151f

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

HEX
#c8151f
RGB
200, 21, 31
HSL
356.65°, 81%, 43.33%
OKLCH
0.53 0.21 26.43
Names
—
Lists

Codes

FormatValue
HEX#c8151f
RGBrgb(200 21 31)
HSLhsl(356.65 81% 43.33%)
OKLCHoklch(0.53 0.21 26.43)
CMYKcmyk(0% 89.5% 84.5% 21.57%)
Android#ffc8151f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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