Skip to content
Vectorlight.net

#d20fac

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

HEX
#d20fac
RGB
210, 15, 172
HSL
311.69°, 86.67%, 44.12%
OKLCH
0.59 0.25 339.08
Names
—
Lists

Codes

FormatValue
HEX#d20fac
RGBrgb(210 15 172)
HSLhsl(311.69 86.67% 44.12%)
OKLCHoklch(0.59 0.25 339.08)
CMYKcmyk(0% 92.86% 18.1% 17.65%)
Android#ffd20fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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