#051112 color
The hex color #051112 is a very dark, moderate cyan.
In the RGB color model it is made of 2% red, 6.7% green and 7.1% blue (5, 17, 18).
Its hue angle is 185°, with 57% saturation and 5% lightness. For print, the CMYK equivalent is 72% cyan, 6% magenta, 0% yellow and 93% black.
The closest named color is Black Stallion (#0E191C), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.17:1).
#051112 color codes
| HEX | #051112 | |
|---|---|---|
| RGB | rgb(5, 17, 18) | |
| RGB percent | rgb(2%, 6.7%, 7.1%) | |
| HSL | hsl(185, 57%, 5%) | |
| HSV / HSB | hsv(185, 72%, 7%) | |
| CMYK | cmyk(72%, 6%, 0%, 93%) | |
| CIE LAB | lab(4.31, -3.32, -1.79) | |
| CIE LCH | lch(4.31, 3.77, 208.39) | |
| CIE XYZ | xyz(0.372, 0.477, 0.645) | |
| Decimal | 332050 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #051112, 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 #051112 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.17:1 | Pass | Pass | Pass |
| #051112 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.17:1 | Pass | Pass | Pass |
| Sample text | 1.1: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 #051112 looks to people with the most common types of color vision deficiency.
#0f1012Protanopia
no red cones#0d0e12Deuteranopia
no green cones#011211Tritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #051112; }
.text { color: #051112; }
.border { border: 2px solid #051112; }
.transparent { background-color: rgb(5 17 18 / 50%); }
.gradient { background: linear-gradient(to right, #051112, #050b12); }
Similar colors
#0e191cBlack Stallion#010b13Rich Black#010b13Black Knight#0f1012Ruined Smores#041108Jedi Night#161718Dark Moon#0f0f0fOff Black#111111Dreamless Sleep
Questions
- What color is #051112?
- #051112 is a very dark, moderate cyan, closest to the named color Black Stallion. It belongs to the black family of colors.
- What is the RGB value of #051112?
- The RGB value is 5, 17, 18: 5 red, 17 green and 18 blue on a 0 to 255 scale.
- What is the complementary color of #051112?
- The complementary color is #120605, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #051112?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.17:1. WCAG asks for at least 4.5:1 for normal text.