Skip to content
Vectorlight.net

#d438bc

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

HEX
#d438bc
RGB
212, 56, 188
HSL
309.23°, 64.46%, 52.55%
OKLCH
0.62 0.23 335.11
Names
—
Lists

Codes

FormatValue
HEX#d438bc
RGBrgb(212 56 188)
HSLhsl(309.23 64.46% 52.55%)
OKLCHoklch(0.62 0.23 335.11)
CMYKcmyk(0% 73.58% 11.32% 16.86%)
Android#ffd438bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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