Skip to content
Vectorlight.net

#d4138d

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

HEX
#d4138d
RGB
212, 19, 141
HSL
322.07°, 83.55%, 45.29%
OKLCH
0.58 0.23 349.91
Names
—
Lists

Codes

FormatValue
HEX#d4138d
RGBrgb(212 19 141)
HSLhsl(322.07 83.55% 45.29%)
OKLCHoklch(0.58 0.23 349.91)
CMYKcmyk(0% 91.04% 33.49% 16.86%)
Android#ffd4138d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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