#5E181E#5E181E

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

Color values

HEX#5E181E
RGBrgb(94, 24, 30)
HSLhsl(355, 59%, 23%)
HSVhsv(355, 74%, 37%)
CMYKcmyk(0%, 74.5%, 68.1%, 63.1%)
CIE-LABlab(20.55, 32.01, 14.45)
CIE-LCHlch(20.55, 35.12, 24.29°)
OKLaboklab(32.75% 0.0949 0.0346)
OKLCHoklch(32.75% 0.101 20)
XYZxyz(5.1776, 3.1274, 1.5591)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E181E #185E58
analogous
#5E1841 #5E181E #5E3518
triadic
#5E181E #1E5E18 #181E5E
tetradic
#5E181E #415E18 #185E58 #35185E
square
#5E181E #415E18 #185E58 #35185E
split-complementary
#5E181E #185E35 #18415E
monochromatic
#180608 #2D0C0E #5E181E #8F242E #C0313D

Accessibility & contrast

On white

12.92
#5E181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5E181E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E181E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E181E#FFFFFF#000000##FFFFFF
##5E181E1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281E
Deuteranopia (green-blind)
#3D371C
Tritanopia (blue-blind)
#68051B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e181e;
/* rgb */ color: rgb(94, 24, 30);
/* oklch */ color: oklch(32.7% 0.101 20.0);
Tailwind
colors: {
  custom: {
    50: '#915a59',
    500: '#5e181e',
    950: '#000000',
  },
}
SCSS
$custom: #5e181e;
$custom-light: #915a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e181e",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 354.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32748,
    "c": 0.101,
    "h": 20
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#5E181E
secondary
#3D948D
accent
#E3D545
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E181E

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

Preview Lab → · Contrast checker → · Palette generator →

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