Skip to content
Vectorlight.net

#d231ab

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

HEX
#d231ab
RGB
210, 49, 171
HSL
314.53°, 64.14%, 50.78%
OKLCH
0.6 0.23 339.95
Names
—
Lists

Codes

FormatValue
HEX#d231ab
RGBrgb(210 49 171)
HSLhsl(314.53 64.14% 50.78%)
OKLCHoklch(0.6 0.23 339.95)
CMYKcmyk(0% 76.67% 18.57% 17.65%)
Android#ffd231ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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