Skip to content
Vectorlight.net

#ca048b

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

HEX
#ca048b
RGB
202, 4, 139
HSL
319.09°, 96.12%, 40.39%
OKLCH
0.56 0.23 347.89
Names
—
Lists

Codes

FormatValue
HEX#ca048b
RGBrgb(202 4 139)
HSLhsl(319.09 96.12% 40.39%)
OKLCHoklch(0.56 0.23 347.89)
CMYKcmyk(0% 98.02% 31.19% 20.78%)
Android#ffca048b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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