Skip to content
Vectorlight.net

#d70168

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

HEX
#d70168
RGB
215, 1, 104
HSL
331.12°, 99.07%, 42.35%
OKLCH
0.57 0.23 3.56
Names
—
Lists

Codes

FormatValue
HEX#d70168
RGBrgb(215 1 104)
HSLhsl(331.12 99.07% 42.35%)
OKLCHoklch(0.57 0.23 3.56)
CMYKcmyk(0% 99.53% 51.63% 15.69%)
Android#ffd70168

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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