Skip to content
Vectorlight.net

#d0128f

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

HEX
#d0128f
RGB
208, 18, 143
HSL
320.53°, 84.07%, 44.31%
OKLCH
0.57 0.23 348.22
Names
—
Lists

Codes

FormatValue
HEX#d0128f
RGBrgb(208 18 143)
HSLhsl(320.53 84.07% 44.31%)
OKLCHoklch(0.57 0.23 348.22)
CMYKcmyk(0% 91.35% 31.25% 18.43%)
Android#ffd0128f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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