#2E271B#2E271B

#2E271B is a dark, muted orange. Relative luminance 0.021; OKLCH L 27.7% C 0.023 H 80.9°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2E271B
RGBrgb(46, 39, 27)
HSLhsl(38, 26%, 14%)
HSVhsv(38, 41%, 18%)
CMYKcmyk(0%, 15.2%, 41.3%, 82%)
CIE-LABlab(16.06, 0.99, 9.14)
CIE-LCHlch(16.06, 9.20, 83.80°)
OKLaboklab(27.68% 0.0037 0.023)
OKLCHoklch(27.68% 0.023 80.9)
XYZxyz(2.0501, 2.1111, 1.3362)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E271B #1B222E
analogous
#2E1E1B #2E271B #2C2E1B
triadic
#2E271B #1B2E27 #271B2E
tetradic
#2E271B #1B2E1E #1B222E #2E1B2C
square
#2E271B #1B2E1E #1B222E #2E1B2C
split-complementary
#2E271B #1B2C2E #1E1B2E
monochromatic
#13100B #13100B #2E271B #554832 #7B6848

Accessibility & contrast

On white

14.77
#2E271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E271B
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E271B#FFFFFF#000000##FFFFFF
##2E271B1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271A
Deuteranopia (green-blind)
#2C291B
Tritanopia (blue-blind)
#312524
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e271b;
/* rgb */ color: rgb(46, 39, 27);
/* oklch */ color: oklch(27.7% 0.023 80.9);
Tailwind
colors: {
  custom: {
    50: '#676057',
    500: '#2e271b',
    950: '#000000',
  },
}
SCSS
$custom: #2e271b;
$custom-light: #676057;
$custom-dark: #000000;
JSON
{
  "hex": "#2e271b",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 37.895,
    "s": 26.027,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27677,
    "c": 0.02324,
    "h": 80.9
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#2E271B
secondary
#434E61
accent
#88C265
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #2E271B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E271B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva