Skip to content
Vectorlight.net

#cd402e

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

HEX
#cd402e
RGB
205, 64, 46
HSL
6.79°, 63.35%, 49.22%
OKLCH
0.57 0.18 30.56
Names
—
Lists

Codes

FormatValue
HEX#cd402e
RGBrgb(205 64 46)
HSLhsl(6.79 63.35% 49.22%)
OKLCHoklch(0.57 0.18 30.56)
CMYKcmyk(0% 68.78% 77.56% 19.61%)
Android#ffcd402e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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