Skip to content
Vectorlight.net

#cc3138

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

HEX
#cc3138
RGB
204, 49, 56
HSL
357.29°, 61.26%, 49.61%
OKLCH
0.56 0.19 23.86
Names
—
Lists

Codes

FormatValue
HEX#cc3138
RGBrgb(204 49 56)
HSLhsl(357.29 61.26% 49.61%)
OKLCHoklch(0.56 0.19 23.86)
CMYKcmyk(0% 75.98% 72.55% 20%)
Android#ffcc3138

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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