Skip to content
Vectorlight.net

#fb398a

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

HEX
#fb398a
RGB
251, 57, 138
HSL
334.95°, 96.04%, 60.39%
OKLCH
0.66 0.23 1.2
Names
—
Lists

Codes

FormatValue
HEX#fb398a
RGBrgb(251 57 138)
HSLhsl(334.95 96.04% 60.39%)
OKLCHoklch(0.66 0.23 1.2)
CMYKcmyk(0% 77.29% 45.02% 1.57%)
Android#fffb398a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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