Skip to content
Vectorlight.net

#ca398b

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

HEX
#ca398b
RGB
202, 57, 139
HSL
326.07°, 57.77%, 50.78%
OKLCH
0.58 0.2 350.23
Names
—
Lists

Codes

FormatValue
HEX#ca398b
RGBrgb(202 57 139)
HSLhsl(326.07 57.77% 50.78%)
OKLCHoklch(0.58 0.2 350.23)
CMYKcmyk(0% 71.78% 31.19% 20.78%)
Android#ffca398b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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