Skip to content
Vectorlight.net

#f24dfb

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

HEX
#f24dfb
RGB
242, 77, 251
HSL
296.9°, 95.6%, 64.31%
OKLCH
0.71 0.27 325.73
Names
—
Lists

Codes

FormatValue
HEX#f24dfb
RGBrgb(242 77 251)
HSLhsl(296.9 95.6% 64.31%)
OKLCHoklch(0.71 0.27 325.73)
CMYKcmyk(3.59% 69.32% 0% 1.57%)
Android#fff24dfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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