Skip to content
Vectorlight.net

#f286db

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

HEX
#f286db
RGB
242, 134, 219
HSL
312.78°, 80.6%, 73.73%
OKLCH
0.76 0.17 335.56
Names
—
Lists

Codes

FormatValue
HEX#f286db
RGBrgb(242 134 219)
HSLhsl(312.78 80.6% 73.73%)
OKLCHoklch(0.76 0.17 335.56)
CMYKcmyk(0% 44.63% 9.5% 5.1%)
Android#fff286db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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