#2B271F#2B271F

#2B271F is a dark, near-neutral orange. Relative luminance 0.021; OKLCH L 27.4% C 0.015 H 84.5°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#2B271F
RGBrgb(43, 39, 31)
HSLhsl(40, 16%, 15%)
HSVhsv(40, 28%, 17%)
CMYKcmyk(0%, 9.3%, 27.9%, 83.1%)
CIE-LABlab(15.82, 0.18, 5.97)
CIE-LCHlch(15.82, 5.97, 88.28°)
OKLaboklab(27.44% 0.0015 0.0153)
OKLCHoklch(27.44% 0.015 84.5)
XYZxyz(1.9691, 2.0636, 1.5906)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B271F #1F232B
analogous
#2B211F #2B271F #292B1F
triadic
#2B271F #1F2B27 #271F2B
tetradic
#2B271F #1F2B21 #1F232B #2B1F29
square
#2B271F #1F2B21 #1F232B #2B1F29
split-complementary
#2B271F #1F292B #211F2B
monochromatic
#12100D #12100D #2B271F #4F4739 #726852

Accessibility & contrast

On white

14.86
#2B271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2B271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B271F
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B271F#FFFFFF#000000##FFFFFF
##2B271F1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#2A281F
Tritanopia (blue-blind)
#2D2625
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b271f;
/* rgb */ color: rgb(43, 39, 31);
/* oklch */ color: oklch(27.4% 0.015 84.5);
Tailwind
colors: {
  custom: {
    50: '#64615a',
    500: '#2b271f',
    950: '#000000',
  },
}
SCSS
$custom: #2b271f;
$custom-light: #64615a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b271f",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 40,
    "s": 16.216,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27438,
    "c": 0.01537,
    "h": 84.5
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#2B271F
secondary
#49505C
accent
#88B96F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#050503
muted
#7A7978

Preview Lab

Preview with #2B271F

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

Preview Lab → · Contrast checker → · Palette generator →

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