Skip to content
Vectorlight.net

#f0a0ef

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

HEX
#f0a0ef
RGB
240, 160, 239
HSL
300.75°, 72.73%, 78.43%
OKLCH
0.81 0.14 327.18
Names
—
Lists

Codes

FormatValue
HEX#f0a0ef
RGBrgb(240 160 239)
HSLhsl(300.75 72.73% 78.43%)
OKLCHoklch(0.81 0.14 327.18)
CMYKcmyk(0% 33.33% 0.42% 5.88%)
Android#fff0a0ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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