Skip to content
Vectorlight.net

#d740bc

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

HEX
#d740bc
RGB
215, 64, 188
HSL
310.73°, 65.37%, 54.71%
OKLCH
0.63 0.23 336.07
Names
—
Lists

Codes

FormatValue
HEX#d740bc
RGBrgb(215 64 188)
HSLhsl(310.73 65.37% 54.71%)
OKLCHoklch(0.63 0.23 336.07)
CMYKcmyk(0% 70.23% 12.56% 15.69%)
Android#ffd740bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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