Skip to content
Vectorlight.net

#d2268c

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

HEX
#d2268c
RGB
210, 38, 140
HSL
324.42°, 69.35%, 48.63%
OKLCH
0.58 0.22 350.53
Names
—
Lists

Codes

FormatValue
HEX#d2268c
RGBrgb(210 38 140)
HSLhsl(324.42 69.35% 48.63%)
OKLCHoklch(0.58 0.22 350.53)
CMYKcmyk(0% 81.9% 33.33% 17.65%)
Android#ffd2268c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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