Skip to content
Vectorlight.net

#d4255e

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

HEX
#d4255e
RGB
212, 37, 94
HSL
340.46°, 70.28%, 48.82%
OKLCH
0.57 0.21 8.84
Names
—
Lists

Codes

FormatValue
HEX#d4255e
RGBrgb(212 37 94)
HSLhsl(340.46 70.28% 48.82%)
OKLCHoklch(0.57 0.21 8.84)
CMYKcmyk(0% 82.55% 55.66% 16.86%)
Android#ffd4255e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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