Skip to content
Vectorlight.net

#f5877d

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

HEX
#f5877d
RGB
245, 135, 125
HSL
5°, 85.71%, 72.55%
OKLCH
0.74 0.14 26.28
Names
—
Lists

Codes

FormatValue
HEX#f5877d
RGBrgb(245 135 125)
HSLhsl(5 85.71% 72.55%)
OKLCHoklch(0.74 0.14 26.28)
CMYKcmyk(0% 44.9% 48.98% 3.92%)
Android#fff5877d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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