Skip to content
Vectorlight.net

#f31d8a

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

HEX
#f31d8a
RGB
243, 29, 138
HSL
329.44°, 89.92%, 53.33%
OKLCH
0.63 0.25 357.91
Names
—
Lists

Codes

FormatValue
HEX#f31d8a
RGBrgb(243 29 138)
HSLhsl(329.44 89.92% 53.33%)
OKLCHoklch(0.63 0.25 357.91)
CMYKcmyk(0% 88.07% 43.21% 4.71%)
Android#fff31d8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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