#5D181F#5D181F

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

Color values

HEX#5D181F
RGBrgb(93, 24, 31)
HSLhsl(354, 59%, 23%)
HSVhsv(354, 74%, 36%)
CMYKcmyk(0%, 74.2%, 66.7%, 63.5%)
CIE-LABlab(20.36, 31.72, 13.48)
CIE-LCHlch(20.36, 34.46, 23.02°)
OKLaboklab(32.58% 0.0943 0.0325)
OKLCHoklch(32.58% 0.1 19)
XYZxyz(5.0887, 3.0801, 1.6226)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D181F #185D56
analogous
#5D1841 #5D181F #5D3318
triadic
#5D181F #1F5D18 #181F5D
tetradic
#5D181F #415D18 #185D56 #33185D
square
#5D181F #415D18 #185D56 #33185D
split-complementary
#5D181F #185D33 #18415D
monochromatic
#180608 #2C0B0F #5D181F #8E252F #BE313F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D181F#FFFFFF#000000##FFFFFF
##5D181F1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d181f;
/* rgb */ color: rgb(93, 24, 31);
/* oklch */ color: oklch(32.6% 0.100 19.0);
Tailwind
colors: {
  custom: {
    50: '#905a5a',
    500: '#5d181f',
    950: '#000000',
  },
}
SCSS
$custom: #5d181f;
$custom-light: #905a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d181f",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 353.913,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32578,
    "c": 0.09976,
    "h": 19
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#5D181F
secondary
#3D938B
accent
#E2D246
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5D181F

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

Preview Lab → · Contrast checker → · Palette generator →

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