#5D1318#5D1318

#5D1318 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.106 H 22.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#5D1318
RGBrgb(93, 19, 24)
HSLhsl(356, 66%, 22%)
HSVhsv(356, 80%, 36%)
CMYKcmyk(0%, 79.6%, 74.2%, 63.5%)
CIE-LABlab(19.47, 33.35, 17.19)
CIE-LCHlch(19.47, 37.52, 27.26°)
OKLaboklab(31.87% 0.0979 0.0399)
OKLCHoklch(31.87% 0.106 22.2)
XYZxyz(4.9125, 2.8596, 1.1573)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1318 #135D58
analogous
#5D133D #5D1318 #5D3313
triadic
#5D1318 #185D13 #13185D
tetradic
#5D1318 #3D5D13 #135D58 #33135D
square
#5D1318 #3D5D13 #135D58 #33135D
split-complementary
#5D1318 #135D33 #133D5D
monochromatic
#190507 #2A090B #5D1318 #901D25 #C32832

Accessibility & contrast

On white

13.36
#5D1318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5D1318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1318
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1318#FFFFFF#000000##FFFFFF
##5D13181.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282518
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#670016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d1318;
/* rgb */ color: rgb(93, 19, 24);
/* oklch */ color: oklch(31.9% 0.106 22.2);
Tailwind
colors: {
  custom: {
    50: '#915854',
    500: '#5d1318',
    950: '#000000',
  },
}
SCSS
$custom: #5d1318;
$custom-light: #915854;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1318",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 24
  },
  "hsl": {
    "h": 355.946,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31873,
    "c": 0.10572,
    "h": 22.2
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#5D1318
secondary
#37958F
accent
#E9DE3F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5D1318

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

Preview Lab → · Contrast checker → · Palette generator →

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