#2D271B#2D271B

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

Color values

HEX#2D271B
RGBrgb(45, 39, 27)
HSLhsl(40, 25%, 14%)
HSVhsv(40, 40%, 18%)
CMYKcmyk(0%, 13.3%, 40%, 82.4%)
CIE-LABlab(15.94, 0.48, 8.97)
CIE-LCHlch(15.94, 8.98, 86.92°)
OKLaboklab(27.56% 0.0022 0.0225)
OKLCHoklch(27.56% 0.023 84.4)
XYZxyz(2.0056, 2.0881, 1.3341)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D271B #1B212D
analogous
#2D1E1B #2D271B #2A2D1B
triadic
#2D271B #1B2D27 #271B2D
tetradic
#2D271B #1B2D1E #1B212D #2D1B2A
square
#2D271B #1B2D1E #1B212D #2D1B2A
split-complementary
#2D271B #1B2A2D #1E1B2D
monochromatic
#13110B #13110B #2D271B #534832 #7A6949

Accessibility & contrast

On white

14.81
#2D271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D271B
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D271B#FFFFFF#000000##FFFFFF
##2D271B1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d271b;
/* rgb */ color: rgb(45, 39, 27);
/* oklch */ color: oklch(27.6% 0.023 84.4);
Tailwind
colors: {
  custom: {
    50: '#666057',
    500: '#2d271b',
    950: '#000000',
  },
}
SCSS
$custom: #2d271b;
$custom-light: #666057;
$custom-dark: #000000;
JSON
{
  "hex": "#2d271b",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 40,
    "s": 25,
    "l": 14.118
  },
  "oklch": {
    "l": 0.27557,
    "c": 0.02264,
    "h": 84.4
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#2D271B
secondary
#444D60
accent
#85C166
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #2D271B

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

Preview Lab → · Contrast checker → · Palette generator →

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