Skip to content
Vectorlight.net

#fb145f

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

HEX
#fb145f
RGB
251, 20, 95
HSL
340.52°, 96.65%, 53.14%
OKLCH
0.63 0.25 12.73
Names
—
Lists

Codes

FormatValue
HEX#fb145f
RGBrgb(251 20 95)
HSLhsl(340.52 96.65% 53.14%)
OKLCHoklch(0.63 0.25 12.73)
CMYKcmyk(0% 92.03% 62.15% 1.57%)
Android#fffb145f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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