Skip to content
Vectorlight.net

#d240bb

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

HEX
#d240bb
RGB
210, 64, 187
HSL
309.45°, 61.86%, 53.73%
OKLCH
0.62 0.22 334.97
Names
—
Lists

Codes

FormatValue
HEX#d240bb
RGBrgb(210 64 187)
HSLhsl(309.45 61.86% 53.73%)
OKLCHoklch(0.62 0.22 334.97)
CMYKcmyk(0% 69.52% 10.95% 17.65%)
Android#ffd240bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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