Skip to content
Vectorlight.net

#da158b

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

HEX
#da158b
RGB
218, 21, 139
HSL
324.06°, 82.43%, 46.86%
OKLCH
0.59 0.24 352.07
Names
—
Lists

Codes

FormatValue
HEX#da158b
RGBrgb(218 21 139)
HSLhsl(324.06 82.43% 46.86%)
OKLCHoklch(0.59 0.24 352.07)
CMYKcmyk(0% 90.37% 36.24% 14.51%)
Android#ffda158b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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