Skip to content
Vectorlight.net

#f8258c

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

HEX
#f8258c
RGB
248, 37, 140
HSL
330.71°, 93.78%, 55.88%
OKLCH
0.65 0.25 358.56
Names
—
Lists

Codes

FormatValue
HEX#f8258c
RGBrgb(248 37 140)
HSLhsl(330.71 93.78% 55.88%)
OKLCHoklch(0.65 0.25 358.56)
CMYKcmyk(0% 85.08% 43.55% 2.75%)
Android#fff8258c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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