Skip to content
Vectorlight.net

#f03aaa

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

HEX
#f03aaa
RGB
240, 58, 170
HSL
323.08°, 85.85%, 58.43%
OKLCH
0.66 0.24 348.09
Names
—
Lists

Codes

FormatValue
HEX#f03aaa
RGBrgb(240 58 170)
HSLhsl(323.08 85.85% 58.43%)
OKLCHoklch(0.66 0.24 348.09)
CMYKcmyk(0% 75.83% 29.17% 5.88%)
Android#fff03aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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