Skip to content
Vectorlight.net

#c512bf

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

HEX
#c512bf
RGB
197, 18, 191
HSL
302.01°, 83.26%, 42.16%
OKLCH
0.58 0.26 329.98
Names
—
Lists

Codes

FormatValue
HEX#c512bf
RGBrgb(197 18 191)
HSLhsl(302.01 83.26% 42.16%)
OKLCHoklch(0.58 0.26 329.98)
CMYKcmyk(0% 90.86% 3.05% 22.75%)
Android#ffc512bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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