Skip to content
Vectorlight.net

#dc268f

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

HEX
#dc268f
RGB
220, 38, 143
HSL
325.38°, 72.22%, 50.59%
OKLCH
0.6 0.23 351.8
Names
—
Lists

Codes

FormatValue
HEX#dc268f
RGBrgb(220 38 143)
HSLhsl(325.38 72.22% 50.59%)
OKLCHoklch(0.6 0.23 351.8)
CMYKcmyk(0% 82.73% 35% 13.73%)
Android#ffdc268f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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