Skip to content
Vectorlight.net

#cf12ba

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

HEX
#cf12ba
RGB
207, 18, 186
HSL
306.67°, 84%, 44.12%
OKLCH
0.59 0.26 334.12
Names
—
Lists

Codes

FormatValue
HEX#cf12ba
RGBrgb(207 18 186)
HSLhsl(306.67 84% 44.12%)
OKLCHoklch(0.59 0.26 334.12)
CMYKcmyk(0% 91.3% 10.14% 18.82%)
Android#ffcf12ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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