Skip to content
Vectorlight.net

#fb198e

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

HEX
#fb198e
RGB
251, 25, 142
HSL
328.94°, 96.58%, 54.12%
OKLCH
0.65 0.26 357.94
Names
—
Lists

Codes

FormatValue
HEX#fb198e
RGBrgb(251 25 142)
HSLhsl(328.94 96.58% 54.12%)
OKLCHoklch(0.65 0.26 357.94)
CMYKcmyk(0% 90.04% 43.43% 1.57%)
Android#fffb198e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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