#5B1317#5B1317

#5B1317 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.104 H 22.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#5B1317
RGBrgb(91, 19, 23)
HSLhsl(357, 65%, 22%)
HSVhsv(357, 79%, 36%)
CMYKcmyk(0%, 79.1%, 74.7%, 64.3%)
CIE-LABlab(19.02, 32.59, 17.23)
CIE-LCHlch(19.02, 36.86, 27.86°)
OKLaboklab(31.46% 0.0955 0.0399)
OKLCHoklch(31.46% 0.104 22.7)
XYZxyz(4.7024, 2.7525, 1.0941)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1317 #135B57
analogous
#5B133B #5B1317 #5B3313
triadic
#5B1317 #175B13 #13175B
tetradic
#5B1317 #3B5B13 #135B57 #33135B
square
#5B1317 #3B5B13 #135B57 #33135B
split-complementary
#5B1317 #135B33 #133B5B
monochromatic
#190506 #28080A #5B1317 #8E1E24 #C02831

Accessibility & contrast

On white

13.54
#5B1317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5B1317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1317
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1317#FFFFFF#000000##FFFFFF
##5B13171.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282417
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#650015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1317;
/* rgb */ color: rgb(91, 19, 23);
/* oklch */ color: oklch(31.5% 0.104 22.7);
Tailwind
colors: {
  custom: {
    50: '#905753',
    500: '#5b1317',
    950: '#000000',
  },
}
SCSS
$custom: #5b1317;
$custom-light: #905753;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1317",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 356.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31455,
    "c": 0.10354,
    "h": 22.7
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#5B1317
secondary
#37938E
accent
#E8DF3F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1317

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

Preview Lab → · Contrast checker → · Palette generator →

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