Skip to content
Vectorlight.net

#f8138f

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

HEX
#f8138f
RGB
248, 19, 143
HSL
327.51°, 94.24%, 52.35%
OKLCH
0.64 0.26 356.88
Names
—
Lists

Codes

FormatValue
HEX#f8138f
RGBrgb(248 19 143)
HSLhsl(327.51 94.24% 52.35%)
OKLCHoklch(0.64 0.26 356.88)
CMYKcmyk(0% 92.34% 42.34% 2.75%)
Android#fff8138f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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