Skip to content
Vectorlight.net

#cd302f

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

HEX
#cd302f
RGB
205, 48, 47
HSL
0.38°, 62.7%, 49.41%
OKLCH
0.56 0.19 26.45
Names
—
Lists

Codes

FormatValue
HEX#cd302f
RGBrgb(205 48 47)
HSLhsl(0.38 62.7% 49.41%)
OKLCHoklch(0.56 0.19 26.45)
CMYKcmyk(0% 76.59% 77.07% 19.61%)
Android#ffcd302f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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