Skip to content
Vectorlight.net

#d123ab

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

HEX
#d123ab
RGB
209, 35, 171
HSL
313.1°, 71.31%, 47.84%
OKLCH
0.59 0.24 339.38
Names
—
Lists

Codes

FormatValue
HEX#d123ab
RGBrgb(209 35 171)
HSLhsl(313.1 71.31% 47.84%)
OKLCHoklch(0.59 0.24 339.38)
CMYKcmyk(0% 83.25% 18.18% 18.04%)
Android#ffd123ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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