Skip to content
Vectorlight.net

#c51dbf

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

HEX
#c51dbf
RGB
197, 29, 191
HSL
302.14°, 74.34%, 44.31%
OKLCH
0.58 0.25 329.95
Names
—
Lists

Codes

FormatValue
HEX#c51dbf
RGBrgb(197 29 191)
HSLhsl(302.14 74.34% 44.31%)
OKLCHoklch(0.58 0.25 329.95)
CMYKcmyk(0% 85.28% 3.05% 22.75%)
Android#ffc51dbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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