Skip to content
Vectorlight.net

#f23ea8

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

HEX
#f23ea8
RGB
242, 62, 168
HSL
324.67°, 87.38%, 59.61%
OKLCH
0.66 0.23 349.44
Names
—
Lists

Codes

FormatValue
HEX#f23ea8
RGBrgb(242 62 168)
HSLhsl(324.67 87.38% 59.61%)
OKLCHoklch(0.66 0.23 349.44)
CMYKcmyk(0% 74.38% 30.58% 5.1%)
Android#fff23ea8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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