#5E231B#5E231B

#5E231B is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.2% C 0.088 H 30.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#5E231B
RGBrgb(94, 35, 27)
HSLhsl(7, 55%, 24%)
HSVhsv(7, 71%, 37%)
CMYKcmyk(0%, 62.8%, 71.3%, 63.1%)
CIE-LABlab(22.52, 26.37, 18.92)
CIE-LCHlch(22.52, 32.45, 35.66°)
OKLaboklab(34.21% 0.0764 0.0442)
OKLCHoklch(34.21% 0.088 30.1)
XYZxyz(5.4155, 3.6616, 1.4583)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E231B #1B565E
analogous
#5E1B34 #5E231B #5E441B
triadic
#5E231B #1B5E23 #231B5E
tetradic
#5E231B #345E1B #1B565E #441B5E
square
#5E231B #345E1B #1B565E #441B5E
split-complementary
#5E231B #1B5E44 #1B345E
monochromatic
#180907 #2E110D #5E231B #8E3529 #BD4636

Accessibility & contrast

On white

12.12
#5E231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5E231B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E231B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E231B#FFFFFF#000000##FFFFFF
##5E231B1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1A
Deuteranopia (green-blind)
#413B19
Tritanopia (blue-blind)
#681721
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e231b;
/* rgb */ color: rgb(94, 35, 27);
/* oklch */ color: oklch(34.2% 0.088 30.1);
Tailwind
colors: {
  custom: {
    50: '#916057',
    500: '#5e231b',
    950: '#000000',
  },
}
SCSS
$custom: #5e231b;
$custom-light: #916057;
$custom-dark: #000000;
JSON
{
  "hex": "#5e231b",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 7.164,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34211,
    "c": 0.0883,
    "h": 30.1
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#5E231B
secondary
#418A94
accent
#CDDF49
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E231B

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

Preview Lab → · Contrast checker → · Palette generator →

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