Skip to content
Vectorlight.net

#df2bac

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

HEX
#df2bac
RGB
223, 43, 172
HSL
317°, 73.77%, 52.16%
OKLCH
0.62 0.24 342.81
Names
—
Lists

Codes

FormatValue
HEX#df2bac
RGBrgb(223 43 172)
HSLhsl(317 73.77% 52.16%)
OKLCHoklch(0.62 0.24 342.81)
CMYKcmyk(0% 80.72% 22.87% 12.55%)
Android#ffdf2bac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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