#2A271F#2A271F

#2A271F is a dark, near-neutral orange. Relative luminance 0.020; OKLCH L 27.3% C 0.015 H 89.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#2A271F
RGBrgb(42, 39, 31)
HSLhsl(44, 15%, 14%)
HSVhsv(44, 26%, 16%)
CMYKcmyk(0%, 7.1%, 26.2%, 83.5%)
CIE-LABlab(15.71, -0.31, 5.80)
CIE-LCHlch(15.71, 5.80, 93.10°)
OKLaboklab(27.32% 0 0.0149)
OKLCHoklch(27.32% 0.015 89.9)
XYZxyz(1.9277, 2.0422, 1.5887)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A271F #1F222A
analogous
#2A221F #2A271F #282A1F
triadic
#2A271F #1F2A27 #271F2A
tetradic
#2A271F #1F2A22 #1F222A #2A1F28
square
#2A271F #1F2A22 #1F222A #2A1F28
split-complementary
#2A271F #1F282A #221F2A
monochromatic
#12100D #12100D #2A271F #4D4839 #706853

Accessibility & contrast

On white

14.91
#2A271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A271F
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A271F#FFFFFF#000000##FFFFFF
##2A271F1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a271f;
/* rgb */ color: rgb(42, 39, 31);
/* oklch */ color: oklch(27.3% 0.015 89.9);
Tailwind
colors: {
  custom: {
    50: '#63615a',
    500: '#2a271f',
    950: '#000000',
  },
}
SCSS
$custom: #2a271f;
$custom-light: #63615a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a271f",
  "rgb": {
    "r": 42,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 43.636,
    "s": 15.068,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27324,
    "c": 0.01488,
    "h": 89.9
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#2A271F
secondary
#4A4E5B
accent
#84B870
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050503
muted
#797978

Preview Lab

Preview with #2A271F

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

Preview Lab → · Contrast checker → · Palette generator →

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