#18191C color
The hex color #18191C is a dark gray.
In the RGB color model it is made of 9.4% red, 9.8% green and 11% blue (24, 25, 28).
Its hue angle is 225°, with 8% saturation and 10% lightness. For print, the CMYK equivalent is 14% cyan, 11% magenta, 0% yellow and 89% black.
The closest named color is Piano Black (#17171A), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.58:1).
#18191C color codes
| HEX | #18191C | |
|---|---|---|
| RGB | rgb(24, 25, 28) | |
| RGB percent | rgb(9.4%, 9.8%, 11%) | |
| HSL | hsl(225, 8%, 10%) | |
| HSV / HSB | hsv(225, 14%, 11%) | |
| CMYK | cmyk(14%, 11%, 0%, 89%) | |
| CIE LAB | lab(8.77, 0.34, -2.26) | |
| CIE LCH | lch(8.77, 2.28, 278.49) | |
| CIE XYZ | xyz(0.934, 0.973, 1.237) | |
| Decimal | 1579292 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18191C, 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 #18191C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.58:1 | Pass | Pass | Pass |
| #18191C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.58:1 | Pass | Pass | Pass |
| Sample text | 1.19:1 | Fail | Fail | Fail |
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 #18191C looks to people with the most common types of color vision deficiency.
#18191cProtanopia
no red cones#18191cDeuteranopia
no green cones#171a1aTritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #18191c; }
.text { color: #18191c; }
.border { border: 2px solid #18191c; }
.transparent { background-color: rgb(24 25 28 / 50%); }
.gradient { background: linear-gradient(to right, #18191c, #19181c); }
Similar colors
#17171aPiano Black#151517Dark Void#1c1e21Satin Deep Black#161718Dark Moon#1e1e21Inkwell Inception#202124Noble Black#151515Matt Black#141414Sooty
Closest common color name: Midnight Black.
Questions
- What color is #18191C?
- #18191C is a dark gray, closest to the named color Piano Black. It belongs to the black family of colors.
- What is the RGB value of #18191C?
- The RGB value is 24, 25, 28: 24 red, 25 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #18191C?
- The complementary color is #1C1B18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18191C?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.58:1. WCAG asks for at least 4.5:1 for normal text.