Skip to content
Vectorlight.net

#d138ab

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

HEX
#d138ab
RGB
209, 56, 171
HSL
314.9°, 62.45%, 51.96%
OKLCH
0.61 0.22 339.89
Names
—
Lists

Codes

FormatValue
HEX#d138ab
RGBrgb(209 56 171)
HSLhsl(314.9 62.45% 51.96%)
OKLCHoklch(0.61 0.22 339.89)
CMYKcmyk(0% 73.21% 18.18% 18.04%)
Android#ffd138ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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