Skip to content
Vectorlight.net

#da1fa8

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

HEX
#da1fa8
RGB
218, 31, 168
HSL
316.04°, 75.1%, 48.82%
OKLCH
0.6 0.24 342.57
Names
—
Lists

Codes

FormatValue
HEX#da1fa8
RGBrgb(218 31 168)
HSLhsl(316.04 75.1% 48.82%)
OKLCHoklch(0.6 0.24 342.57)
CMYKcmyk(0% 85.78% 22.94% 14.51%)
Android#ffda1fa8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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