#5E151B#5E151B

#5E151B is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.105 H 21.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5E151B
RGBrgb(94, 21, 27)
HSLhsl(355, 63%, 23%)
HSVhsv(355, 78%, 37%)
CMYKcmyk(0%, 77.7%, 71.3%, 63.1%)
CIE-LABlab(20.03, 33.08, 15.86)
CIE-LCHlch(20.03, 36.69, 25.61°)
OKLaboklab(32.34% 0.0976 0.0374)
OKLCHoklch(32.34% 0.105 21)
XYZxyz(5.0826, 2.9959, 1.3473)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E151B #155E58
analogous
#5E1540 #5E151B #5E3315
triadic
#5E151B #1B5E15 #151B5E
tetradic
#5E151B #405E15 #155E58 #33155E
square
#5E151B #405E15 #155E58 #33155E
split-complementary
#5E151B #155E33 #15405E
monochromatic
#190607 #2C0A0D #5E151B #902029 #C22B38

Accessibility & contrast

On white

13.13
#5E151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5E151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E151B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E151B#FFFFFF#000000##FFFFFF
##5E151B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A261B
Deuteranopia (green-blind)
#3C3619
Tritanopia (blue-blind)
#680018
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e151b;
/* rgb */ color: rgb(94, 21, 27);
/* oklch */ color: oklch(32.3% 0.105 21.0);
Tailwind
colors: {
  custom: {
    50: '#925957',
    500: '#5e151b',
    950: '#000000',
  },
}
SCSS
$custom: #5e151b;
$custom-light: #925957;
$custom-dark: #000000;
JSON
{
  "hex": "#5e151b",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 355.068,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32342,
    "c": 0.10454,
    "h": 21
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#5E151B
secondary
#39958E
accent
#E7D941
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E151B

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

Preview Lab → · Contrast checker → · Palette generator →

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