Skip to content
Vectorlight.net

#f08fab

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

HEX
#f08fab
RGB
240, 143, 171
HSL
342.68°, 76.38%, 75.1%
OKLCH
0.76 0.12 1.79
Names
—
Lists

Codes

FormatValue
HEX#f08fab
RGBrgb(240 143 171)
HSLhsl(342.68 76.38% 75.1%)
OKLCHoklch(0.76 0.12 1.79)
CMYKcmyk(0% 40.42% 28.75% 5.88%)
Android#fff08fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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