Skip to content
Vectorlight.net

#ca2531

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

HEX
#ca2531
RGB
202, 37, 49
HSL
355.64°, 69.04%, 46.86%
OKLCH
0.54 0.2 23.86
Names
—
Lists

Codes

FormatValue
HEX#ca2531
RGBrgb(202 37 49)
HSLhsl(355.64 69.04% 46.86%)
OKLCHoklch(0.54 0.2 23.86)
CMYKcmyk(0% 81.68% 75.74% 20.78%)
Android#ffca2531

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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