Skip to content
Vectorlight.net

#f23aaf

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

HEX
#f23aaf
RGB
242, 58, 175
HSL
321.85°, 87.62%, 58.82%
OKLCH
0.66 0.24 346.9
Names
—
Lists

Codes

FormatValue
HEX#f23aaf
RGBrgb(242 58 175)
HSLhsl(321.85 87.62% 58.82%)
OKLCHoklch(0.66 0.24 346.9)
CMYKcmyk(0% 76.03% 27.69% 5.1%)
Android#fff23aaf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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