Skip to content
Vectorlight.net

#da2f8b

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

HEX
#da2f8b
RGB
218, 47, 139
HSL
327.72°, 69.8%, 51.96%
OKLCH
0.6 0.22 353.36
Names
—
Lists

Codes

FormatValue
HEX#da2f8b
RGBrgb(218 47 139)
HSLhsl(327.72 69.8% 51.96%)
OKLCHoklch(0.6 0.22 353.36)
CMYKcmyk(0% 78.44% 36.24% 14.51%)
Android#ffda2f8b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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