Skip to content
Vectorlight.net

#d381cc

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

HEX
#d381cc
RGB
211, 129, 204
HSL
305.12°, 48.24%, 66.67%
OKLCH
0.71 0.14 330.01
Names
—
Lists

Codes

FormatValue
HEX#d381cc
RGBrgb(211 129 204)
HSLhsl(305.12 48.24% 66.67%)
OKLCHoklch(0.71 0.14 330.01)
CMYKcmyk(0% 38.86% 3.32% 17.25%)
Android#ffd381cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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