Skip to content
Vectorlight.net

#ff8fec

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

HEX
#ff8fec
RGB
255, 143, 236
HSL
310.18°, 100%, 78.04%
OKLCH
0.8 0.17 333.67
Names
—
Lists

Codes

FormatValue
HEX#ff8fec
RGBrgb(255 143 236)
HSLhsl(310.18 100% 78.04%)
OKLCHoklch(0.8 0.17 333.67)
CMYKcmyk(0% 43.92% 7.45% 0%)
Android#ffff8fec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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