Skip to content
Vectorlight.net

#220022

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

HEX
#220022
RGB
34, 0, 34
HSL
300°, 100%, 6.67%
OKLCH
0.18 0.08 328.36
Names
—
Lists

Codes

FormatValue
HEX#220022
RGBrgb(34 0 34)
HSLhsl(300 100% 6.67%)
OKLCHoklch(0.18 0.08 328.36)
CMYKcmyk(0% 100% 0% 86.67%)
Android#ff220022

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
19.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.09:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

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="#220022"
Gradient stop
<stop stop-color="#220022"/>
CSS variable + fill
:root { --c: #220022; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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