Skip to content
Vectorlight.net

#f255db

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

HEX
#f255db
RGB
242, 85, 219
HSL
308.79°, 85.79%, 64.12%
OKLCH
0.7 0.24 334.15
Names
—
Lists

Codes

FormatValue
HEX#f255db
RGBrgb(242 85 219)
HSLhsl(308.79 85.79% 64.12%)
OKLCHoklch(0.7 0.24 334.15)
CMYKcmyk(0% 64.88% 9.5% 5.1%)
Android#fff255db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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