Skip to content
Vectorlight.net

#defcf2

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

HEX
#defcf2
RGB
222, 252, 242
HSL
160°, 83.33%, 92.94%
OKLCH
0.97 0.03 173.53
Names
—
Lists

Codes

FormatValue
HEX#defcf2
RGBrgb(222 252 242)
HSLhsl(160 83.33% 92.94%)
OKLCHoklch(0.97 0.03 173.53)
CMYKcmyk(11.9% 0% 3.97% 1.18%)
Android#ffdefcf2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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