Skip to content
Vectorlight.net

#d138aa

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

HEX
#d138aa
RGB
209, 56, 170
HSL
315.29°, 62.45%, 51.96%
OKLCH
0.61 0.22 340.24
Names
—
Lists

Codes

FormatValue
HEX#d138aa
RGBrgb(209 56 170)
HSLhsl(315.29 62.45% 51.96%)
OKLCHoklch(0.61 0.22 340.24)
CMYKcmyk(0% 73.21% 18.66% 18.04%)
Android#ffd138aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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