Skip to content
Vectorlight.net

#d438cc

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

HEX
#d438cc
RGB
212, 56, 204
HSL
303.08°, 64.46%, 52.55%
OKLCH
0.63 0.24 330.29
Names
—
Lists

Codes

FormatValue
HEX#d438cc
RGBrgb(212 56 204)
HSLhsl(303.08 64.46% 52.55%)
OKLCHoklch(0.63 0.24 330.29)
CMYKcmyk(0% 73.58% 3.77% 16.86%)
Android#ffd438cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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