Skip to content
Vectorlight.net

#d412ba

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

HEX
#d412ba
RGB
212, 18, 186
HSL
308.04°, 84.35%, 45.1%
OKLCH
0.6 0.26 335.42
Names
—
Lists

Codes

FormatValue
HEX#d412ba
RGBrgb(212 18 186)
HSLhsl(308.04 84.35% 45.1%)
OKLCHoklch(0.6 0.26 335.42)
CMYKcmyk(0% 91.51% 12.26% 16.86%)
Android#ffd412ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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