Skip to content
Vectorlight.net

#180022

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

HEX
#180022
RGB
24, 0, 34
HSL
282.35°, 100%, 6.67%
OKLCH
0.16 0.08 315.08
Names
—
Lists

Codes

FormatValue
HEX#180022
RGBrgb(24 0 34)
HSLhsl(282.35 100% 6.67%)
OKLCHoklch(0.16 0.08 315.08)
CMYKcmyk(29.41% 100% 0% 86.67%)
Android#ff180022

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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