#181315 color
The hex color #181315 is a very dark, grayish rose.
In the RGB color model it is made of 9.4% red, 7.5% green and 8.2% blue (24, 19, 21).
Its hue angle is 336°, with 12% saturation and 8% lightness. For print, the CMYK equivalent is 0% cyan, 21% magenta, 12% yellow and 91% black.
The closest named color is Licorice (#1B1212), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.38:1).
#181315 color codes
| HEX | #181315 | |
|---|---|---|
| RGB | rgb(24, 19, 21) | |
| RGB percent | rgb(9.4%, 7.5%, 8.2%) | |
| HSL | hsl(336, 12%, 8%) | |
| HSV / HSB | hsv(336, 21%, 9%) | |
| CMYK | cmyk(0%, 21%, 12%, 91%) | |
| CIE LAB | lab(6.45, 2.71, -0.43) | |
| CIE LCH | lch(6.45, 2.75, 350.89) | |
| CIE XYZ | xyz(0.745, 0.714, 0.808) | |
| Decimal | 1577749 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #181315, 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 #181315 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.38:1 | Pass | Pass | Pass |
| #181315 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.38:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #181315 looks to people with the most common types of color vision deficiency.
#131415Protanopia
no red cones#151515Deuteranopia
no green cones#191314Tritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #181315; }
.text { color: #181315; }
.border { border: 2px solid #181315; }
.transparent { background-color: rgb(24 19 21 / 50%); }
.gradient { background: linear-gradient(to right, #181315, #181413); }
Similar colors
#1b1212Licorice#1a1110Scandinavian Liquorice#0f0707Knight Rider#151517Dark Void#17171aPiano Black#0f0d0dBlack Sheep#201b20Night Demons#130a06Asphalt
Questions
- What color is #181315?
- #181315 is a very dark, grayish rose, closest to the named color Licorice. It belongs to the black family of colors.
- What is the RGB value of #181315?
- The RGB value is 24, 19, 21: 24 red, 19 green and 21 blue on a 0 to 255 scale.
- What is the complementary color of #181315?
- The complementary color is #131816, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #181315?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.38:1. WCAG asks for at least 4.5:1 for normal text.