Skip to content
Vectorlight.net

#d50138

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

HEX
#d50138
RGB
213, 1, 56
HSL
344.43°, 99.07%, 41.96%
OKLCH
0.55 0.22 19.71
Names
—
Lists

Codes

FormatValue
HEX#d50138
RGBrgb(213 1 56)
HSLhsl(344.43 99.07% 41.96%)
OKLCHoklch(0.55 0.22 19.71)
CMYKcmyk(0% 99.53% 73.71% 16.47%)
Android#ffd50138

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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