#5D231A#5D231A

#5D231A is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.0% C 0.087 H 31.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#5D231A
RGBrgb(93, 35, 26)
HSLhsl(8, 56%, 23%)
HSVhsv(8, 72%, 36%)
CMYKcmyk(0%, 62.4%, 72%, 63.5%)
CIE-LABlab(22.32, 25.88, 19.28)
CIE-LCHlch(22.32, 32.28, 36.69°)
OKLaboklab(34.02% 0.0748 0.0449)
OKLCHoklch(34.02% 0.087 31)
XYZxyz(5.3022, 3.6045, 1.3936)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D231A #1A545D
analogous
#5D1A32 #5D231A #5D441A
triadic
#5D231A #1A5D23 #231A5D
tetradic
#5D231A #325D1A #1A545D #441A5D
square
#5D231A #325D1A #1A545D #441A5D
split-complementary
#5D231A #1A5D44 #1A325D
monochromatic
#180907 #2D110D #5D231A #8D3527 #BD4735

Accessibility & contrast

On white

12.20
#5D231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5D231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D231A
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D231A#FFFFFF#000000##FFFFFF
##5D231A1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D19
Deuteranopia (green-blind)
#413A19
Tritanopia (blue-blind)
#671721
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d231a;
/* rgb */ color: rgb(93, 35, 26);
/* oklch */ color: oklch(34.0% 0.087 31.0);
Tailwind
colors: {
  custom: {
    50: '#906056',
    500: '#5d231a',
    950: '#000000',
  },
}
SCSS
$custom: #5d231a;
$custom-light: #906056;
$custom-dark: #000000;
JSON
{
  "hex": "#5d231a",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 8.06,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34018,
    "c": 0.08727,
    "h": 31
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#5D231A
secondary
#408893
accent
#CBE048
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D231A

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

Preview Lab → · Contrast checker → · Palette generator →

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