Skip to content
Vectorlight.net

#ca227b

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

HEX
#ca227b
RGB
202, 34, 123
HSL
328.21°, 71.19%, 46.27%
OKLCH
0.56 0.21 354.92
Names
—
Lists

Codes

FormatValue
HEX#ca227b
RGBrgb(202 34 123)
HSLhsl(328.21 71.19% 46.27%)
OKLCHoklch(0.56 0.21 354.92)
CMYKcmyk(0% 83.17% 39.11% 20.78%)
Android#ffca227b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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