Skip to content
Vectorlight.net

#d12bca

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

HEX
#d12bca
RGB
209, 43, 202
HSL
302.53°, 65.87%, 49.41%
OKLCH
0.61 0.25 330.09
Names
—
Lists

Codes

FormatValue
HEX#d12bca
RGBrgb(209 43 202)
HSLhsl(302.53 65.87% 49.41%)
OKLCHoklch(0.61 0.25 330.09)
CMYKcmyk(0% 79.43% 3.35% 18.04%)
Android#ffd12bca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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