Skip to content
Vectorlight.net

#d2267c

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

HEX
#d2267c
RGB
210, 38, 124
HSL
330°, 69.35%, 48.63%
OKLCH
0.58 0.21 356.66
Names
—
Lists

Codes

FormatValue
HEX#d2267c
RGBrgb(210 38 124)
HSLhsl(330 69.35% 48.63%)
OKLCHoklch(0.58 0.21 356.66)
CMYKcmyk(0% 81.9% 40.95% 17.65%)
Android#ffd2267c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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