Skip to content
Vectorlight.net

#d162cd

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

HEX
#d162cd
RGB
209, 98, 205
HSL
302.16°, 54.68%, 60.2%
OKLCH
0.67 0.19 328.83
Names
—
Lists

Codes

FormatValue
HEX#d162cd
RGBrgb(209 98 205)
HSLhsl(302.16 54.68% 60.2%)
OKLCHoklch(0.67 0.19 328.83)
CMYKcmyk(0% 53.11% 1.91% 18.04%)
Android#ffd162cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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