Skip to content
Vectorlight.net

#f268bf

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

HEX
#f268bf
RGB
242, 104, 191
HSL
322.17°, 84.15%, 67.84%
OKLCH
0.71 0.19 344.39
Names
—
Lists

Codes

FormatValue
HEX#f268bf
RGBrgb(242 104 191)
HSLhsl(322.17 84.15% 67.84%)
OKLCHoklch(0.71 0.19 344.39)
CMYKcmyk(0% 57.02% 21.07% 5.1%)
Android#fff268bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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