Skip to content
Vectorlight.net

#dc268b

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

HEX
#dc268b
RGB
220, 38, 139
HSL
326.7°, 72.22%, 50.59%
OKLCH
0.6 0.23 353.25
Names
—
Lists

Codes

FormatValue
HEX#dc268b
RGBrgb(220 38 139)
HSLhsl(326.7 72.22% 50.59%)
OKLCHoklch(0.6 0.23 353.25)
CMYKcmyk(0% 82.73% 36.82% 13.73%)
Android#ffdc268b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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