Skip to content
Vectorlight.net

#cd2b1a

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

HEX
#cd2b1a
RGB
205, 43, 26
HSL
5.7°, 77.49%, 45.29%
OKLCH
0.55 0.2 30.32
Names
—
Lists

Codes

FormatValue
HEX#cd2b1a
RGBrgb(205 43 26)
HSLhsl(5.7 77.49% 45.29%)
OKLCHoklch(0.55 0.2 30.32)
CMYKcmyk(0% 79.02% 87.32% 19.61%)
Android#ffcd2b1a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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