Skip to content
Vectorlight.net

#f8167b

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

HEX
#f8167b
RGB
248, 22, 123
HSL
333.19°, 94.17%, 52.94%
OKLCH
0.64 0.25 3.47
Names
—
Lists

Codes

FormatValue
HEX#f8167b
RGBrgb(248 22 123)
HSLhsl(333.19 94.17% 52.94%)
OKLCHoklch(0.64 0.25 3.47)
CMYKcmyk(0% 91.13% 50.4% 2.75%)
Android#fff8167b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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