Skip to content
Vectorlight.net

#f2223e

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

HEX
#f2223e
RGB
242, 34, 62
HSL
351.92°, 88.89%, 54.12%
OKLCH
0.62 0.23 22.18
Names
—
Lists

Codes

FormatValue
HEX#f2223e
RGBrgb(242 34 62)
HSLhsl(351.92 88.89% 54.12%)
OKLCHoklch(0.62 0.23 22.18)
CMYKcmyk(0% 85.95% 74.38% 5.1%)
Android#fff2223e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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