#2D271F#2D271F

#2D271F is a dark, near-neutral orange. Relative luminance 0.021; OKLCH L 27.7% C 0.017 H 74.9°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2D271F
RGBrgb(45, 39, 31)
HSLhsl(34, 18%, 15%)
HSVhsv(34, 31%, 18%)
CMYKcmyk(0%, 13.3%, 31.1%, 82.4%)
CIE-LABlab(16.04, 1.17, 6.31)
CIE-LCHlch(16.04, 6.42, 79.47°)
OKLaboklab(27.67% 0.0044 0.0162)
OKLCHoklch(27.67% 0.017 74.9)
XYZxyz(2.0550, 2.1079, 1.5947)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D271F #1F252D
analogous
#2D201F #2D271F #2C2D1F
triadic
#2D271F #1F2D27 #271F2D
tetradic
#2D271F #1F2D20 #1F252D #2D1F2C
square
#2D271F #1F2D20 #1F252D #2D1F2C
split-complementary
#2D271F #1F2C2D #201F2D
monochromatic
#12100C #12100C #2D271F #514638 #756651

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D271F#FFFFFF#000000##FFFFFF
##2D271F1.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)
#29271E
Deuteranopia (green-blind)
#2B281F
Tritanopia (blue-blind)
#2F2525
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d271f;
/* rgb */ color: rgb(45, 39, 31);
/* oklch */ color: oklch(27.7% 0.017 74.9);
Tailwind
colors: {
  custom: {
    50: '#66615a',
    500: '#2d271f',
    950: '#000000',
  },
}
SCSS
$custom: #2d271f;
$custom-light: #66615a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d271f",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 34.286,
    "s": 18.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27669,
    "c": 0.01674,
    "h": 74.9
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#2D271F
secondary
#49525F
accent
#8EBB6D
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #2D271F

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

Preview Lab → · Contrast checker → · Palette generator →

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