Skip to content
Vectorlight.net

#d142da

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

HEX
#d142da
RGB
209, 66, 218
HSL
296.45°, 67.26%, 55.69%
OKLCH
0.64 0.24 325.4
Names
—
Lists

Codes

FormatValue
HEX#d142da
RGBrgb(209 66 218)
HSLhsl(296.45 67.26% 55.69%)
OKLCHoklch(0.64 0.24 325.4)
CMYKcmyk(4.13% 69.72% 0% 14.51%)
Android#ffd142da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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