Skip to content
Vectorlight.net

#f291bf

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

HEX
#f291bf
RGB
242, 145, 191
HSL
331.55°, 78.86%, 75.88%
OKLCH
0.77 0.13 350.67
Names
—
Lists

Codes

FormatValue
HEX#f291bf
RGBrgb(242 145 191)
HSLhsl(331.55 78.86% 75.88%)
OKLCHoklch(0.77 0.13 350.67)
CMYKcmyk(0% 40.08% 21.07% 5.1%)
Android#fff291bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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