#5D181D#5D181D

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

Color values

HEX#5D181D
RGBrgb(93, 24, 29)
HSLhsl(356, 59%, 23%)
HSVhsv(356, 74%, 36%)
CMYKcmyk(0%, 74.2%, 68.8%, 63.5%)
CIE-LABlab(20.32, 31.57, 14.81)
CIE-LCHlch(20.32, 34.87, 25.12°)
OKLaboklab(32.53% 0.0934 0.0353)
OKLCHoklch(32.53% 0.1 20.7)
XYZxyz(5.0631, 3.0699, 1.4881)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D181D #185D58
analogous
#5D183F #5D181D #5D3518
triadic
#5D181D #1D5D18 #181D5D
tetradic
#5D181D #3F5D18 #185D58 #35185D
square
#5D181D #3F5D18 #185D58 #35185D
split-complementary
#5D181D #185D35 #183F5D
monochromatic
#180608 #2C0B0E #5D181D #8E252C #BE313B

Accessibility & contrast

On white

13.01
#5D181D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D181D
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D181D#FFFFFF#000000##FFFFFF
##5D181D1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281D
Deuteranopia (green-blind)
#3C361B
Tritanopia (blue-blind)
#67061A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d181d;
/* rgb */ color: rgb(93, 24, 29);
/* oklch */ color: oklch(32.5% 0.100 20.7);
Tailwind
colors: {
  custom: {
    50: '#905a58',
    500: '#5d181d',
    950: '#000000',
  },
}
SCSS
$custom: #5d181d;
$custom-light: #905a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5d181d",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 29
  },
  "hsl": {
    "h": 355.652,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32535,
    "c": 0.09988,
    "h": 20.7
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#5D181D
secondary
#3D938D
accent
#E2D746
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5D181D

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

Preview Lab → · Contrast checker → · Palette generator →

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