Skip to content
Vectorlight.net

#db228b

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

HEX
#db228b
RGB
219, 34, 139
HSL
325.95°, 73.12%, 49.61%
OKLCH
0.6 0.23 352.81
Names
—
Lists

Codes

FormatValue
HEX#db228b
RGBrgb(219 34 139)
HSLhsl(325.95 73.12% 49.61%)
OKLCHoklch(0.6 0.23 352.81)
CMYKcmyk(0% 84.47% 36.53% 14.12%)
Android#ffdb228b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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