#5B231A#5B231A

#5B231A is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.7% C 0.085 H 31.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#5B231A
RGBrgb(91, 35, 26)
HSLhsl(8, 56%, 23%)
HSVhsv(8, 71%, 36%)
CMYKcmyk(0%, 61.5%, 71.4%, 64.3%)
CIE-LABlab(21.95, 25.04, 18.75)
CIE-LCHlch(21.95, 31.29, 36.83°)
OKLaboklab(33.67% 0.0725 0.0438)
OKLCHoklch(33.67% 0.085 31.2)
XYZxyz(5.1024, 3.5014, 1.3842)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B231A #1A525B
analogous
#5B1A31 #5B231A #5B431A
triadic
#5B231A #1A5B23 #231A5B
tetradic
#5B231A #315B1A #1A525B #431A5B
square
#5B231A #315B1A #1A525B #431A5B
split-complementary
#5B231A #1A5B43 #1A315B
monochromatic
#180907 #2B110C #5B231A #8B3528 #BA4835

Accessibility & contrast

On white

12.35
#5B231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5B231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B231A
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B231A#FFFFFF#000000##FFFFFF
##5B231A1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D19
Deuteranopia (green-blind)
#403919
Tritanopia (blue-blind)
#641821
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5b231a;
/* rgb */ color: rgb(91, 35, 26);
/* oklch */ color: oklch(33.7% 0.085 31.2);
Tailwind
colors: {
  custom: {
    50: '#8e6056',
    500: '#5b231a',
    950: '#000000',
  },
}
SCSS
$custom: #5b231a;
$custom-light: #8e6056;
$custom-dark: #000000;
JSON
{
  "hex": "#5b231a",
  "rgb": {
    "r": 91,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 8.308,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33668,
    "c": 0.08468,
    "h": 31.2
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#5B231A
secondary
#408691
accent
#CADF49
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5B231A

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

Preview Lab → · Contrast checker → · Palette generator →

#5B231A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva