Skip to content
Vectorlight.net

#f21765

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

HEX
#f21765
RGB
242, 23, 101
HSL
338.63°, 89.39%, 51.96%
OKLCH
0.62 0.24 9.82
Names
—
Lists

Codes

FormatValue
HEX#f21765
RGBrgb(242 23 101)
HSLhsl(338.63 89.39% 51.96%)
OKLCHoklch(0.62 0.24 9.82)
CMYKcmyk(0% 90.5% 58.26% 5.1%)
Android#fff21765

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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