Skip to content
Vectorlight.net

#d28ec0

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

HEX
#d28ec0
RGB
210, 142, 192
HSL
315.88°, 43.04%, 69.02%
OKLCH
0.73 0.1 336.78
Names
—
Lists

Codes

FormatValue
HEX#d28ec0
RGBrgb(210 142 192)
HSLhsl(315.88 43.04% 69.02%)
OKLCHoklch(0.73 0.1 336.78)
CMYKcmyk(0% 32.38% 8.57% 17.65%)
Android#ffd28ec0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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