Skip to content
Vectorlight.net

#f2a8bc

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

HEX
#f2a8bc
RGB
242, 168, 188
HSL
343.78°, 74%, 80.39%
OKLCH
0.81 0.09 1.61
Names
—
Lists

Codes

FormatValue
HEX#f2a8bc
RGBrgb(242 168 188)
HSLhsl(343.78 74% 80.39%)
OKLCHoklch(0.81 0.09 1.61)
CMYKcmyk(0% 30.58% 22.31% 5.1%)
Android#fff2a8bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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