Skip to content
Vectorlight.net

#d242da

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

HEX
#d242da
RGB
210, 66, 218
HSL
296.84°, 67.26%, 55.69%
OKLCH
0.64 0.24 325.69
Names
—
Lists

Codes

FormatValue
HEX#d242da
RGBrgb(210 66 218)
HSLhsl(296.84 67.26% 55.69%)
OKLCHoklch(0.64 0.24 325.69)
CMYKcmyk(3.67% 69.72% 0% 14.51%)
Android#ffd242da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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