Skip to content
Vectorlight.net

#fb2952

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

HEX
#fb2952
RGB
251, 41, 82
HSL
348.29°, 96.33%, 57.25%
OKLCH
0.64 0.24 18.03
Names
—
Lists

Codes

FormatValue
HEX#fb2952
RGBrgb(251 41 82)
HSLhsl(348.29 96.33% 57.25%)
OKLCHoklch(0.64 0.24 18.03)
CMYKcmyk(0% 83.67% 67.33% 1.57%)
Android#fffb2952

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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