Skip to content
Vectorlight.net

#f2e6fb

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

HEX
#f2e6fb
RGB
242, 230, 251
HSL
274.29°, 72.41%, 94.31%
OKLCH
0.94 0.03 310.99
Names
—
Lists

Codes

FormatValue
HEX#f2e6fb
RGBrgb(242 230 251)
HSLhsl(274.29 72.41% 94.31%)
OKLCHoklch(0.94 0.03 310.99)
CMYKcmyk(3.59% 8.37% 0% 1.57%)
Android#fff2e6fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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