Skip to content
Vectorlight.net

#d2018b

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

HEX
#d2018b
RGB
210, 1, 139
HSL
320.38°, 99.05%, 41.37%
OKLCH
0.57 0.24 349.8
Names
—
Lists

Codes

FormatValue
HEX#d2018b
RGBrgb(210 1 139)
HSLhsl(320.38 99.05% 41.37%)
OKLCHoklch(0.57 0.24 349.8)
CMYKcmyk(0% 99.52% 33.81% 17.65%)
Android#ffd2018b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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