Skip to content
Vectorlight.net

#f23f8a

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

HEX
#f23f8a
RGB
242, 63, 138
HSL
334.86°, 87.32%, 59.8%
OKLCH
0.65 0.22 0.18
Names
—
Lists

Codes

FormatValue
HEX#f23f8a
RGBrgb(242 63 138)
HSLhsl(334.86 87.32% 59.8%)
OKLCHoklch(0.65 0.22 0.18)
CMYKcmyk(0% 73.97% 42.98% 5.1%)
Android#fff23f8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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