#5E181F#5E181F

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

Color values

HEX#5E181F
RGBrgb(94, 24, 31)
HSLhsl(354, 59%, 23%)
HSVhsv(354, 74%, 37%)
CMYKcmyk(0%, 74.5%, 67%, 63.1%)
CIE-LABlab(20.57, 32.08, 13.78)
CIE-LCHlch(20.57, 34.92, 23.25°)
OKLaboklab(32.77% 0.0953 0.0332)
OKLCHoklch(32.77% 0.101 19.2)
XYZxyz(5.1906, 3.1326, 1.6274)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E181F #185E57
analogous
#5E1842 #5E181F #5E3418
triadic
#5E181F #1F5E18 #181F5E
tetradic
#5E181F #425E18 #185E57 #34185E
square
#5E181F #425E18 #185E57 #34185E
split-complementary
#5E181F #185E34 #18425E
monochromatic
#180608 #2D0C0F #5E181F #8F242F #C0313F

Accessibility & contrast

On white

12.91
#5E181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E181F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E181F#FFFFFF#000000##FFFFFF
##5E181F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281F
Deuteranopia (green-blind)
#3C371D
Tritanopia (blue-blind)
#68061B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e181f;
/* rgb */ color: rgb(94, 24, 31);
/* oklch */ color: oklch(32.8% 0.101 19.2);
Tailwind
colors: {
  custom: {
    50: '#915a5a',
    500: '#5e181f',
    950: '#000000',
  },
}
SCSS
$custom: #5e181f;
$custom-light: #915a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e181f",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 354,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32769,
    "c": 0.10095,
    "h": 19.2
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#5E181F
secondary
#3D948C
accent
#E3D345
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E181F

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

Preview Lab → · Contrast checker → · Palette generator →

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