Skip to content
Vectorlight.net

#12151b

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

HEX
#12151b
RGB
18, 21, 27
HSL
220°, 20%, 8.82%
OKLCH
0.2 0.01 264.21
Names
—
Lists

Codes

FormatValue
HEX#12151b
RGBrgb(18 21 27)
HSLhsl(220 20% 8.82%)
OKLCHoklch(0.2 0.01 264.21)
CMYKcmyk(33.33% 22.22% 0% 89.41%)
Android#ff12151b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #12151b;
background-color: #12151b;
bg-[#12151b]