Skip to content
Vectorlight.net

#f8397d

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

HEX
#f8397d
RGB
248, 57, 125
HSL
338.64°, 93.17%, 59.8%
OKLCH
0.65 0.23 5.26
Names
—
Lists

Codes

FormatValue
HEX#f8397d
RGBrgb(248 57 125)
HSLhsl(338.64 93.17% 59.8%)
OKLCHoklch(0.65 0.23 5.26)
CMYKcmyk(0% 77.02% 49.6% 2.75%)
Android#fff8397d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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