Skip to content
Vectorlight.net

#c5249f

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

HEX
#c5249f
RGB
197, 36, 159
HSL
314.16°, 69.1%, 45.69%
OKLCH
0.57 0.23 340.16
Names
—
Lists

Codes

FormatValue
HEX#c5249f
RGBrgb(197 36 159)
HSLhsl(314.16 69.1% 45.69%)
OKLCHoklch(0.57 0.23 340.16)
CMYKcmyk(0% 81.73% 19.29% 22.75%)
Android#ffc5249f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.12:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#c5249f"
Gradient stop
<stop stop-color="#c5249f"/>
CSS variable + fill
:root { --c: #c5249f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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