Skip to content
Vectorlight.net

#d138bf

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

HEX
#d138bf
RGB
209, 56, 191
HSL
307.06°, 62.45%, 51.96%
OKLCH
0.62 0.23 333.33
Names
—
Lists

Codes

FormatValue
HEX#d138bf
RGBrgb(209 56 191)
HSLhsl(307.06 62.45% 51.96%)
OKLCHoklch(0.62 0.23 333.33)
CMYKcmyk(0% 73.21% 8.61% 18.04%)
Android#ffd138bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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