Skip to content
Vectorlight.net

#f24ecf

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

HEX
#f24ecf
RGB
242, 78, 207
HSL
312.8°, 86.32%, 62.75%
OKLCH
0.69 0.24 337.59
Names
—
Lists

Codes

FormatValue
HEX#f24ecf
RGBrgb(242 78 207)
HSLhsl(312.8 86.32% 62.75%)
OKLCHoklch(0.69 0.24 337.59)
CMYKcmyk(0% 67.77% 14.46% 5.1%)
Android#fff24ecf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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