Skip to content
Vectorlight.net

#d4079f

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

HEX
#d4079f
RGB
212, 7, 159
HSL
315.51°, 93.61%, 42.94%
OKLCH
0.58 0.25 343.63
Names
—
Lists

Codes

FormatValue
HEX#d4079f
RGBrgb(212 7 159)
HSLhsl(315.51 93.61% 42.94%)
OKLCHoklch(0.58 0.25 343.63)
CMYKcmyk(0% 96.7% 25% 16.86%)
Android#ffd4079f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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