Skip to content
Vectorlight.net

#d2098d

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

HEX
#d2098d
RGB
210, 9, 141
HSL
320.6°, 91.78%, 42.94%
OKLCH
0.57 0.24 349.23
Names
—
Lists

Codes

FormatValue
HEX#d2098d
RGBrgb(210 9 141)
HSLhsl(320.6 91.78% 42.94%)
OKLCHoklch(0.57 0.24 349.23)
CMYKcmyk(0% 95.71% 32.86% 17.65%)
Android#ffd2098d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.04:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.16:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#d2098d"
Gradient stop
<stop stop-color="#d2098d"/>
CSS variable + fill
:root { --c: #d2098d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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