Skip to content
Vectorlight.net

#d7308f

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

HEX
#d7308f
RGB
215, 48, 143
HSL
325.87°, 67.61%, 51.57%
OKLCH
0.6 0.22 351.22
Names
—
Lists

Codes

FormatValue
HEX#d7308f
RGBrgb(215 48 143)
HSLhsl(325.87 67.61% 51.57%)
OKLCHoklch(0.6 0.22 351.22)
CMYKcmyk(0% 77.67% 33.49% 15.69%)
Android#ffd7308f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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