Skip to content
Vectorlight.net

#f298bb

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

HEX
#f298bb
RGB
242, 152, 187
HSL
336.67°, 77.59%, 77.25%
OKLCH
0.78 0.12 355.22
Names
—
Lists

Codes

FormatValue
HEX#f298bb
RGBrgb(242 152 187)
HSLhsl(336.67 77.59% 77.25%)
OKLCHoklch(0.78 0.12 355.22)
CMYKcmyk(0% 37.19% 22.73% 5.1%)
Android#fff298bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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