Skip to content
Vectorlight.net

#f02852

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

HEX
#f02852
RGB
240, 40, 82
HSL
347.4°, 86.96%, 54.9%
OKLCH
0.62 0.23 16.94
Names
—
Lists

Codes

FormatValue
HEX#f02852
RGBrgb(240 40 82)
HSLhsl(347.4 86.96% 54.9%)
OKLCHoklch(0.62 0.23 16.94)
CMYKcmyk(0% 83.33% 65.83% 5.88%)
Android#fff02852

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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