#020D0D color
The hex color #020D0D is a black.
In the RGB color model it is made of 0.8% red, 5.1% green and 5.1% blue (2, 13, 13).
Its hue angle is 180°, with 73% saturation and 3% lightness. For print, the CMYK equivalent is 85% cyan, 0% magenta, 0% yellow and 95% black.
The closest named color is Raven (#0B0B0B), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.7:1).
#020D0D color codes
| HEX | #020D0D | |
|---|---|---|
| RGB | rgb(2, 13, 13) | |
| RGB percent | rgb(0.8%, 5.1%, 5.1%) | |
| HSL | hsl(180, 73%, 3%) | |
| HSV / HSB | hsv(180, 85%, 5%) | |
| CMYK | cmyk(85%, 0%, 0%, 95%) | |
| CIE LAB | lab(2.98, -2.94, -1.04) | |
| CIE LCH | lch(2.98, 3.12, 199.41) | |
| CIE XYZ | xyz(0.242, 0.33, 0.432) | |
| Decimal | 134413 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #020D0D, 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 #020D0D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.7:1 | Pass | Pass | Pass |
| #020D0D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.7:1 | Pass | Pass | Pass |
| Sample text | 1.07: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 #020D0D looks to people with the most common types of color vision deficiency.
#0b0c0dProtanopia
no red cones#090a0dDeuteranopia
no green cones#000e0dTritanopia
no blue cones#0b0b0bAchromatopsia
no color vision
CSS examples
.background { background-color: #020d0d; }
.text { color: #020d0d; }
.border { border: 2px solid #020d0d; }
.transparent { background-color: rgb(2 13 13 / 50%); }
.gradient { background: linear-gradient(to right, #020d0d, #02070d); }
Similar colors
#0e191cBlack Stallion#0b0b0bRaven#010203Black Hole#0c0c0cBlack Wash#060606Black Metal#0f0f0fOff Black#0f1012Ruined Smores#010b13Rich Black
Questions
- What color is #020D0D?
- #020D0D is a black, closest to the named color Raven. It belongs to the black family of colors.
- What is the RGB value of #020D0D?
- The RGB value is 2, 13, 13: 2 red, 13 green and 13 blue on a 0 to 255 scale.
- What is the complementary color of #020D0D?
- The complementary color is #0D0202, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #020D0D?
- White text. Black text has a contrast ratio of 1.07:1 and white text 19.7:1. WCAG asks for at least 4.5:1 for normal text.