Skip to content
Vectorlight.net

#d238cf

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

HEX
#d238cf
RGB
210, 56, 207
HSL
301.17°, 63.11%, 52.16%
OKLCH
0.63 0.25 328.88
Names
—
Lists

Codes

FormatValue
HEX#d238cf
RGBrgb(210 56 207)
HSLhsl(301.17 63.11% 52.16%)
OKLCHoklch(0.63 0.25 328.88)
CMYKcmyk(0% 73.33% 1.43% 17.65%)
Android#ffd238cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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