Skip to content
Vectorlight.net

#ffcafa

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

HEX
#ffcafa
RGB
255, 202, 250
HSL
305.66°, 100%, 89.61%
OKLCH
0.9 0.09 329.4
Names
—
Lists

Codes

FormatValue
HEX#ffcafa
RGBrgb(255 202 250)
HSLhsl(305.66 100% 89.61%)
OKLCHoklch(0.9 0.09 329.4)
CMYKcmyk(0% 20.78% 1.96% 0%)
Android#ffffcafa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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