Skip to content
Vectorlight.net

#ca4fab

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

HEX
#ca4fab
RGB
202, 79, 171
HSL
315.12°, 53.71%, 55.1%
OKLCH
0.62 0.19 338.76
Names
—
Lists

Codes

FormatValue
HEX#ca4fab
RGBrgb(202 79 171)
HSLhsl(315.12 53.71% 55.1%)
OKLCHoklch(0.62 0.19 338.76)
CMYKcmyk(0% 60.89% 15.35% 20.78%)
Android#ffca4fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.02:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.21:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#ca4fab"
Gradient stop
<stop stop-color="#ca4fab"/>
CSS variable + fill
:root { --c: #ca4fab; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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