Skip to content
Vectorlight.net

#d12ddf

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

HEX
#d12ddf
RGB
209, 45, 223
HSL
295.28°, 73.55%, 52.55%
OKLCH
0.63 0.27 324.48
Names
—
Lists

Codes

FormatValue
HEX#d12ddf
RGBrgb(209 45 223)
HSLhsl(295.28 73.55% 52.55%)
OKLCHoklch(0.63 0.27 324.48)
CMYKcmyk(6.28% 79.82% 0% 12.55%)
Android#ffd12ddf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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