#5E231D#5E231D

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

Color values

HEX#5E231D
RGBrgb(94, 35, 29)
HSLhsl(6, 53%, 24%)
HSVhsv(6, 69%, 37%)
CMYKcmyk(0%, 62.8%, 69.1%, 63.1%)
CIE-LABlab(22.55, 26.50, 17.64)
CIE-LCHlch(22.55, 31.84, 33.65°)
OKLaboklab(34.25% 0.0773 0.0417)
OKLCHoklch(34.25% 0.088 28.3)
XYZxyz(5.4394, 3.6712, 1.5843)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E231D #1D585E
analogous
#5E1D38 #5E231D #5E441D
triadic
#5E231D #1D5E23 #231D5E
tetradic
#5E231D #385E1D #1D585E #441D5E
square
#5E231D #385E1D #1D585E #441D5E
split-complementary
#5E231D #1D5E44 #1D385E
monochromatic
#170907 #2F120F #5E231D #8D342B #BC463A

Accessibility & contrast

On white

12.11
#5E231D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E231D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E231D#FFFFFF#000000##FFFFFF
##5E231D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1C
Deuteranopia (green-blind)
#413B1C
Tritanopia (blue-blind)
#681722
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e231d;
/* rgb */ color: rgb(94, 35, 29);
/* oklch */ color: oklch(34.2% 0.088 28.3);
Tailwind
colors: {
  custom: {
    50: '#906059',
    500: '#5e231d',
    950: '#000000',
  },
}
SCSS
$custom: #5e231d;
$custom-light: #906059;
$custom-dark: #000000;
JSON
{
  "hex": "#5e231d",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 29
  },
  "hsl": {
    "h": 5.538,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34247,
    "c": 0.08781,
    "h": 28.3
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#5E231D
secondary
#448C93
accent
#CFDC4C
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E231D

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

Preview Lab → · Contrast checker → · Palette generator →

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