#18161A color

#18161A rgb(24, 22, 26)
Shades of black

The hex color #18161A is a very dark, grayish violet.

In the RGB color model it is made of 9.4% red, 8.6% green and 10.2% blue (24, 22, 26).

Its hue angle is 270°, with 8% saturation and 9% lightness. For print, the CMYK equivalent is 8% cyan, 15% magenta, 0% yellow and 90% black.

The closest named color is Piano Black (#17171A), a difference of 1.7 ΔE, which is barely visible.

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

#18161A color codes

HEX#18161A
RGBrgb(24, 22, 26)
RGB percentrgb(9.4%, 8.6%, 10.2%)
HSLhsl(270, 8%, 9%)
HSV / HSBhsv(270, 15%, 10%)
CMYKcmyk(8%, 15%, 0%, 90%)
CIE LABlab(7.61, 2.01, -2.46)
CIE LCHlch(7.61, 3.18, 309.29)
CIE XYZxyz(0.85, 0.843, 1.095)
Decimal1578522
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #18161A, 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 #18161ARatioAAAAAAA large
Sample text1.17:1FailFailFail
Sample text17.97:1PassPassPass
#18161A as text onRatioAAAAAAA large
Sample text17.97:1PassPassPass
Sample text1.17: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 #18161A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #18161a; }
.text { color: #18161a; }
.border { border: 2px solid #18161a; }
.transparent { background-color: rgb(24 22 26 / 50%); }
.gradient { background: linear-gradient(to right, #18161a, #1a161a); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Black.

Questions

What color is #18161A?
#18161A is a very dark, grayish violet, closest to the named color Piano Black. It belongs to the black family of colors.
What is the RGB value of #18161A?
The RGB value is 24, 22, 26: 24 red, 22 green and 26 blue on a 0 to 255 scale.
What is the complementary color of #18161A?
The complementary color is #181A16, found by rotating the hue 180° on the color wheel.
Is black or white text better on #18161A?
White text. Black text has a contrast ratio of 1.17:1 and white text 17.97:1. WCAG asks for at least 4.5:1 for normal text.