Skip to content
Vectorlight.net

#d538bc

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

HEX
#d538bc
RGB
213, 56, 188
HSL
309.55°, 65.15%, 52.75%
OKLCH
0.62 0.23 335.38
Names
—
Lists

Codes

FormatValue
HEX#d538bc
RGBrgb(213 56 188)
HSLhsl(309.55 65.15% 52.75%)
OKLCHoklch(0.62 0.23 335.38)
CMYKcmyk(0% 73.71% 11.74% 16.47%)
Android#ffd538bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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