Skip to content
Vectorlight.net

#d9268b

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

HEX
#d9268b
RGB
217, 38, 139
HSL
326.15°, 70.2%, 50%
OKLCH
0.59 0.22 352.56
Names
—
Lists

Codes

FormatValue
HEX#d9268b
RGBrgb(217 38 139)
HSLhsl(326.15 70.2% 50%)
OKLCHoklch(0.59 0.22 352.56)
CMYKcmyk(0% 82.49% 35.94% 14.9%)
Android#ffd9268b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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