Skip to content
Vectorlight.net

#cd031c

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

HEX
#cd031c
RGB
205, 3, 28
HSL
352.57°, 97.12%, 40.78%
OKLCH
0.53 0.22 26.06
Names
—
Lists

Codes

FormatValue
HEX#cd031c
RGBrgb(205 3 28)
HSLhsl(352.57 97.12% 40.78%)
OKLCHoklch(0.53 0.22 26.06)
CMYKcmyk(0% 98.54% 86.34% 19.61%)
Android#ffcd031c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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