Skip to content
Vectorlight.net

#f23272

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

HEX
#f23272
RGB
242, 50, 114
HSL
340°, 88.07%, 57.25%
OKLCH
0.64 0.23 7.48
Names
—
Lists

Codes

FormatValue
HEX#f23272
RGBrgb(242 50 114)
HSLhsl(340 88.07% 57.25%)
OKLCHoklch(0.64 0.23 7.48)
CMYKcmyk(0% 79.34% 52.89% 5.1%)
Android#fff23272

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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