#5D181E#5D181E

#5D181E is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.100 H 19.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5D181E
RGBrgb(93, 24, 30)
HSLhsl(355, 59%, 23%)
HSVhsv(355, 74%, 36%)
CMYKcmyk(0%, 74.2%, 67.7%, 63.5%)
CIE-LABlab(20.34, 31.64, 14.14)
CIE-LCHlch(20.34, 34.66, 24.08°)
OKLaboklab(32.56% 0.0939 0.034)
OKLCHoklch(32.56% 0.1 19.9)
XYZxyz(5.0757, 3.0749, 1.5543)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D181E #185D57
analogous
#5D1840 #5D181E #5D3518
triadic
#5D181E #1E5D18 #181E5D
tetradic
#5D181E #405D18 #185D57 #35185D
square
#5D181E #405D18 #185D57 #35185D
split-complementary
#5D181E #185D35 #18405D
monochromatic
#180608 #2C0B0E #5D181E #8E252E #BE313D

Accessibility & contrast

On white

13.00
#5D181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5D181E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D181E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D181E#FFFFFF#000000##FFFFFF
##5D181E1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A281E
Deuteranopia (green-blind)
#3C361C
Tritanopia (blue-blind)
#67061B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d181e;
/* rgb */ color: rgb(93, 24, 30);
/* oklch */ color: oklch(32.6% 0.100 19.9);
Tailwind
colors: {
  custom: {
    50: '#905a59',
    500: '#5d181e',
    950: '#000000',
  },
}
SCSS
$custom: #5d181e;
$custom-light: #905a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d181e",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 354.783,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32556,
    "c": 0.09981,
    "h": 19.9
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#5D181E
secondary
#3D938C
accent
#E2D546
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5D181E

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

Preview Lab → · Contrast checker → · Palette generator →

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