#5E181B#5E181B

#5E181B is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.101 H 22.5°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#5E181B
RGBrgb(94, 24, 27)
HSLhsl(357, 59%, 23%)
HSVhsv(357, 74%, 37%)
CMYKcmyk(0%, 74.5%, 71.3%, 63.1%)
CIE-LABlab(20.49, 31.81, 16.43)
CIE-LCHlch(20.49, 35.80, 27.32°)
OKLaboklab(32.69% 0.0936 0.0387)
OKLCHoklch(32.69% 0.101 22.5)
XYZxyz(5.1411, 3.1128, 1.3668)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E181B #185E5B
analogous
#5E183E #5E181B #5E3818
triadic
#5E181B #1B5E18 #181B5E
tetradic
#5E181B #3E5E18 #185E5B #38185E
square
#5E181B #3E5E18 #185E5B #38185E
split-complementary
#5E181B #185E38 #183E5E
monochromatic
#180607 #2D0C0D #5E181B #8F2429 #C03137

Accessibility & contrast

On white

12.94
#5E181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5E181B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E181B
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E181B#FFFFFF#000000##FFFFFF
##5E181B1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281B
Deuteranopia (green-blind)
#3D3719
Tritanopia (blue-blind)
#68041A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e181b;
/* rgb */ color: rgb(94, 24, 27);
/* oklch */ color: oklch(32.7% 0.101 22.5);
Tailwind
colors: {
  custom: {
    50: '#915a57',
    500: '#5e181b',
    950: '#000000',
  },
}
SCSS
$custom: #5e181b;
$custom-light: #915a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e181b",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 357.429,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32687,
    "c": 0.10124,
    "h": 22.5
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#5E181B
secondary
#3D9491
accent
#E3DC45
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E181B

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

Preview Lab → · Contrast checker → · Palette generator →

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