#181212 color

#181212 rgb(24, 18, 18)
Shades of black

The hex color #181212 is a very dark, grayish red.

In the RGB color model it is made of 9.4% red, 7.1% green and 7.1% blue (24, 18, 18).

Its hue angle is 0°, with 14% saturation and 8% lightness. For print, the CMYK equivalent is 0% cyan, 25% magenta, 25% yellow and 91% black.

The closest named color is Scandinavian Liquorice (#1A1110), a difference of 1.7 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 18.52:1).

#181212 color codes

HEX#181212
RGBrgb(24, 18, 18)
RGB percentrgb(9.4%, 7.1%, 7.1%)
HSLhsl(0, 14%, 8%)
HSV / HSBhsv(0, 25%, 9%)
CMYKcmyk(0%, 25%, 25%, 91%)
CIE LABlab(6.06, 2.66, 0.94)
CIE LCHlch(6.06, 2.82, 19.41)
CIE XYZxyz(0.702, 0.67, 0.665)
Decimal1577490
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #181212, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #181212RatioAAAAAAA large
Sample text1.13:1FailFailFail
Sample text18.52:1PassPassPass
#181212 as text onRatioAAAAAAA large
Sample text18.52:1PassPassPass
Sample text1.13:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #181212 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #181212; }
.text { color: #181212; }
.border { border: 2px solid #181212; }
.transparent { background-color: rgb(24 18 18 / 50%); }
.gradient { background: linear-gradient(to right, #181212, #181512); }
Background
Text color
Border

Similar colors

Questions

What color is #181212?
#181212 is a very dark, grayish red, closest to the named color Scandinavian Liquorice. It belongs to the black family of colors.
What is the RGB value of #181212?
The RGB value is 24, 18, 18: 24 red, 18 green and 18 blue on a 0 to 255 scale.
What is the complementary color of #181212?
The complementary color is #121818, found by rotating the hue 180° on the color wheel.
Is black or white text better on #181212?
White text. Black text has a contrast ratio of 1.13:1 and white text 18.52:1. WCAG asks for at least 4.5:1 for normal text.