Skip to content
Vectorlight.net

#ffbef1

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

HEX
#ffbef1
RGB
255, 190, 241
HSL
312.92°, 100%, 87.25%
OKLCH
0.88 0.1 334.21
Names
—
Lists

Codes

FormatValue
HEX#ffbef1
RGBrgb(255 190 241)
HSLhsl(312.92 100% 87.25%)
OKLCHoklch(0.88 0.1 334.21)
CMYKcmyk(0% 25.49% 5.49% 0%)
Android#ffffbef1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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