Skip to content
Vectorlight.net

#f8126e

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

HEX
#f8126e
RGB
248, 18, 110
HSL
336°, 94.26%, 52.16%
OKLCH
0.63 0.25 7.54
Names
—
Lists

Codes

FormatValue
HEX#f8126e
RGBrgb(248 18 110)
HSLhsl(336 94.26% 52.16%)
OKLCHoklch(0.63 0.25 7.54)
CMYKcmyk(0% 92.74% 55.65% 2.75%)
Android#fff8126e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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