#21212E

#21212e ≈ Rich Black

  • gray
  • Lightness: very low
  • Saturation: muted
  • Neutral

#21212e is a color from the gray family, with very low lightness and muted saturation. In the RGB model it is made of 12.94% red, 12.94% green and 18.04% blue; printed in CMYK it uses 28.26% cyan, 28.26% magenta, 0% yellow and 81.96% black. Its hue angle is 240°, with 16.46% saturation and 15.49% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography and corporate identities. White text on this color reaches a contrast ratio of 15.89:1 (WCAG AAA). The closest named color is Rich Black (#010b13), ΔE 9.57.

Description generated from the measured properties of this color.

Conversions of #21212e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333333
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0161

Readable text 15.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #222227 ≈ 0.001% of males
Protanopia #1e232f ≈ 1.01% of males
Deuteranopia #1d222e ≈ 1.27% of males
Tritanopia #1e2325 ≈ 0.0001% of males
Protanomaly #1f222e ≈ 1.08% of males
Deuteranomaly #1f212e ≈ 4.63% of males
Tritanomaly #1f2229 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-21212e {
  color: #21212e;
}
Background
.bg-21212e {
  background-color: #21212e;
  color: #ffffff;
}
Border
.border-21212e {
  border: 2px solid #21212e;
}
CSS variables
:root {
  --color-primary: #21212e;
  --color-primary-rgb: 33 33 46;
  --color-primary-hsl: 240 16% 15%;
}
Gradient
.gradient-21212e {
  background: linear-gradient(135deg, #21212e, #27212e);
}
Colored shadow
.shadow-21212e {
  box-shadow: 0 8px 24px rgb(33 33 46 / 0.35);
}

Rich Black
#21212e  rgb(33, 33, 46)  hsl(240, 16%, 15%)  Rich Black
#2e2e21  rgb(46, 46, 33)  hsl(60, 16%, 15%)  Black Olive
#2e2121  rgb(46, 33, 33)  hsl(0, 16%, 15%)  Licorice
#212e21  rgb(33, 46, 33)  hsl(120, 16%, 15%)  Phthalo Green