Skip to content
Vectorlight.net

#ca0256

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

HEX
#ca0256
RGB
202, 2, 86
HSL
334.8°, 98.04%, 40%
OKLCH
0.54 0.21 7.98
Names
—
Lists

Codes

FormatValue
HEX#ca0256
RGBrgb(202 2 86)
HSLhsl(334.8 98.04% 40%)
OKLCHoklch(0.54 0.21 7.98)
CMYKcmyk(0% 99.01% 57.43% 20.78%)
Android#ffca0256

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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