Skip to content
Vectorlight.net

#fb0874

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

HEX
#fb0874
RGB
251, 8, 116
HSL
333.33°, 96.81%, 50.78%
OKLCH
0.64 0.25 5.79
Names
—
Lists

Codes

FormatValue
HEX#fb0874
RGBrgb(251 8 116)
HSLhsl(333.33 96.81% 50.78%)
OKLCHoklch(0.64 0.25 5.79)
CMYKcmyk(0% 96.81% 53.78% 1.57%)
Android#fffb0874

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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