Skip to content
Vectorlight.net

#f2264c

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

HEX
#f2264c
RGB
242, 38, 76
HSL
348.82°, 88.7%, 54.9%
OKLCH
0.62 0.23 18.73
Names
—
Lists

Codes

FormatValue
HEX#f2264c
RGBrgb(242 38 76)
HSLhsl(348.82 88.7% 54.9%)
OKLCHoklch(0.62 0.23 18.73)
CMYKcmyk(0% 84.3% 68.6% 5.1%)
Android#fff2264c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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