Skip to content
Vectorlight.net

#d138da

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

HEX
#d138da
RGB
209, 56, 218
HSL
296.67°, 68.64%, 53.73%
OKLCH
0.63 0.25 325.59
Names
—
Lists

Codes

FormatValue
HEX#d138da
RGBrgb(209 56 218)
HSLhsl(296.67 68.64% 53.73%)
OKLCHoklch(0.63 0.25 325.59)
CMYKcmyk(4.13% 74.31% 0% 14.51%)
Android#ffd138da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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