Skip to content
Vectorlight.net

#f08aeb

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

HEX
#f08aeb
RGB
240, 138, 235
HSL
302.94°, 77.27%, 74.12%
OKLCH
0.77 0.17 328.86
Names
—
Lists

Codes

FormatValue
HEX#f08aeb
RGBrgb(240 138 235)
HSLhsl(302.94 77.27% 74.12%)
OKLCHoklch(0.77 0.17 328.86)
CMYKcmyk(0% 42.5% 2.08% 5.88%)
Android#fff08aeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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