Skip to content
Vectorlight.net

#f8398a

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

HEX
#f8398a
RGB
248, 57, 138
HSL
334.55°, 93.17%, 59.8%
OKLCH
0.66 0.23 0.67
Names
—
Lists

Codes

FormatValue
HEX#f8398a
RGBrgb(248 57 138)
HSLhsl(334.55 93.17% 59.8%)
OKLCHoklch(0.66 0.23 0.67)
CMYKcmyk(0% 77.02% 44.35% 2.75%)
Android#fff8398a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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