Skip to content
Vectorlight.net

#ca338c

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

HEX
#ca338c
RGB
202, 51, 140
HSL
324.64°, 59.68%, 49.61%
OKLCH
0.58 0.2 349.32
Names
—
Lists

Codes

FormatValue
HEX#ca338c
RGBrgb(202 51 140)
HSLhsl(324.64 59.68% 49.61%)
OKLCHoklch(0.58 0.2 349.32)
CMYKcmyk(0% 74.75% 30.69% 20.78%)
Android#ffca338c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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