Skip to content
Vectorlight.net

#f05e8a

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

HEX
#f05e8a
RGB
240, 94, 138
HSL
341.92°, 82.95%, 65.49%
OKLCH
0.68 0.18 4.65
Names
—
Lists

Codes

FormatValue
HEX#f05e8a
RGBrgb(240 94 138)
HSLhsl(341.92 82.95% 65.49%)
OKLCHoklch(0.68 0.18 4.65)
CMYKcmyk(0% 60.83% 42.5% 5.88%)
Android#fff05e8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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