Skip to content
Vectorlight.net

#f02255

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

HEX
#f02255
RGB
240, 34, 85
HSL
345.15°, 87.29%, 53.73%
OKLCH
0.62 0.23 15.45
Names
—
Lists

Codes

FormatValue
HEX#f02255
RGBrgb(240 34 85)
HSLhsl(345.15 87.29% 53.73%)
OKLCHoklch(0.62 0.23 15.45)
CMYKcmyk(0% 85.83% 64.58% 5.88%)
Android#fff02255

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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