Skip to content
Vectorlight.net

#f5877b

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

HEX
#f5877b
RGB
245, 135, 123
HSL
5.9°, 85.92%, 72.16%
OKLCH
0.74 0.14 27.34
Names
—
Lists

Codes

FormatValue
HEX#f5877b
RGBrgb(245 135 123)
HSLhsl(5.9 85.92% 72.16%)
OKLCHoklch(0.74 0.14 27.34)
CMYKcmyk(0% 44.9% 49.8% 3.92%)
Android#fff5877b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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