Skip to content
Vectorlight.net

#cd031b

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

HEX
#cd031b
RGB
205, 3, 27
HSL
352.87°, 97.12%, 40.78%
OKLCH
0.53 0.22 26.24
Names
—
Lists

Codes

FormatValue
HEX#cd031b
RGBrgb(205 3 27)
HSLhsl(352.87 97.12% 40.78%)
OKLCHoklch(0.53 0.22 26.24)
CMYKcmyk(0% 98.54% 86.83% 19.61%)
Android#ffcd031b

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="#cd031b"
Gradient stop
<stop stop-color="#cd031b"/>
CSS variable + fill
:root { --c: #cd031b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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