#271E2B

#271e2b ≈ Licorice

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

#271e2b is a color from the gray family, with very low lightness and muted saturation. In the RGB model it is made of 15.29% red, 11.76% green and 16.86% blue; printed in CMYK it uses 9.3% cyan, 30.23% magenta, 0% yellow and 83.14% black. Its hue angle is 281.54°, with 17.81% saturation and 14.31% 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 16.07:1 (WCAG AAA). The closest named color is Licorice (#1a1110), ΔE 9.17.

Description generated from the measured properties of this color.

Conversions of #271e2b 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.0153

Readable text 16.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #212121 ≈ 0.003% of males
Achromatomaly #242025 ≈ 0.001% of males
Protanopia #1c212c ≈ 1.01% of males
Deuteranopia #1e212b ≈ 1.27% of males
Tritanopia #271f23 ≈ 0.0001% of males
Protanomaly #21202b ≈ 1.08% of males
Deuteranomaly #22202b ≈ 4.63% of males
Tritanomaly #271f26 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-271e2b {
  color: #271e2b;
}
Background
.bg-271e2b {
  background-color: #271e2b;
  color: #ffffff;
}
Border
.border-271e2b {
  border: 2px solid #271e2b;
}
CSS variables
:root {
  --color-primary: #271e2b;
  --color-primary-rgb: 39 30 43;
  --color-primary-hsl: 282 18% 14%;
}
Gradient
.gradient-271e2b {
  background: linear-gradient(135deg, #271e2b, #2b1e28);
}
Colored shadow
.shadow-271e2b {
  box-shadow: 0 8px 24px rgb(39 30 43 / 0.35);
}

Licorice
#271e2b  rgb(39, 30, 43)  hsl(282, 18%, 14%)  Licorice
#222b1e  rgb(34, 43, 30)  hsl(102, 18%, 14%)  Black Olive
#2b271e  rgb(43, 39, 30)  hsl(42, 18%, 14%)  Jet
#1e2b27  rgb(30, 43, 39)  hsl(162, 18%, 14%)  Gunmetal