#040202 ≈ Black
#040202 is a color from the black family, with very low lightness and muted saturation. In the RGB model it is made of 1.57% red, 0.78% green and 0.78% blue; printed in CMYK it uses 0% cyan, 50% magenta, 50% yellow and 98.43% black. Its hue angle is 0°, with 33.33% saturation and 1.18% lightness in HSL. It is a neutral color, often associated with sophistication, power and elegance. Designers typically use it for body text and typography and luxury branding. White text on this color reaches a contrast ratio of 20.7:1 (WCAG AAA). The closest named color is Black (#000000), ΔE 0.88.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000000 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0007 |
Shades
#040202 mixed progressively with black.
Tints
#040202 mixed progressively with white.
Tones
#040202 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040202 {
color: #040202;
}
.bg-040202 {
background-color: #040202;
color: #ffffff;
}
.border-040202 {
border: 2px solid #040202;
}
:root {
--color-primary: #040202;
--color-primary-rgb: 4 2 2;
--color-primary-hsl: 0 33% 1%;
}
.gradient-040202 {
background: linear-gradient(135deg, #040202, #040302);
}
.shadow-040202 {
box-shadow: 0 8px 24px rgb(4 2 2 / 0.35);
}
Black
#040202 rgb(4, 2, 2) hsl(0, 33%, 1%) Black
#020404 rgb(2, 4, 4) hsl(180, 33%, 1%) Black
#020402 rgb(2, 4, 2) hsl(120, 33%, 1%) Black
#020204 rgb(2, 2, 4) hsl(240, 33%, 1%) Black