Skip to content
Vectorlight.net

#d342af

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

HEX
#d342af
RGB
211, 66, 175
HSL
314.9°, 62.23%, 54.31%
OKLCH
0.62 0.21 339.4
Names
—
Lists

Codes

FormatValue
HEX#d342af
RGBrgb(211 66 175)
HSLhsl(314.9 62.23% 54.31%)
OKLCHoklch(0.62 0.21 339.4)
CMYKcmyk(0% 68.72% 17.06% 17.25%)
Android#ffd342af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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