Skip to content
Vectorlight.net

#d7397b

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

HEX
#d7397b
RGB
215, 57, 123
HSL
334.94°, 66.39%, 53.33%
OKLCH
0.6 0.2 0.01
Names
—
Lists

Codes

FormatValue
HEX#d7397b
RGBrgb(215 57 123)
HSLhsl(334.94 66.39% 53.33%)
OKLCHoklch(0.6 0.2 0.01)
CMYKcmyk(0% 73.49% 42.79% 15.69%)
Android#ffd7397b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.41:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.76:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#d7397b"
Gradient stop
<stop stop-color="#d7397b"/>
CSS variable + fill
:root { --c: #d7397b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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