Skip to content
Vectorlight.net

#f81998

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

HEX
#f81998
RGB
248, 25, 152
HSL
325.83°, 94.09%, 53.53%
OKLCH
0.65 0.26 354.19
Names
—
Lists

Codes

FormatValue
HEX#f81998
RGBrgb(248 25 152)
HSLhsl(325.83 94.09% 53.53%)
OKLCHoklch(0.65 0.26 354.19)
CMYKcmyk(0% 89.92% 38.71% 2.75%)
Android#fff81998

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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