#5B0F11#5B0F11

#5B0F11 is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.0% C 0.108 H 25.1°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#5B0F11
RGBrgb(91, 15, 17)
HSLhsl(358, 72%, 21%)
HSVhsv(358, 84%, 36%)
CMYKcmyk(0%, 83.5%, 81.3%, 64.3%)
CIE-LABlab(18.40, 33.78, 20.39)
CIE-LCHlch(18.40, 39.46, 31.11°)
OKLaboklab(30.96% 0.0978 0.0458)
OKLCHoklch(30.96% 0.108 25.1)
XYZxyz(4.5869, 2.6070, 0.7919)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F11 #0F5B59
analogous
#5B0F37 #5B0F11 #5B330F
triadic
#5B0F11 #115B0F #0F115B
tetradic
#5B0F11 #375B0F #0F5B59 #330F5B
square
#5B0F11 #375B0F #0F5B59 #330F5B
split-complementary
#5B0F11 #0F5B33 #0F375B
monochromatic
#1A0405 #260607 #5B0F11 #90181B #C42025

Accessibility & contrast

On white

13.80
#5B0F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#5B0F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F11
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F11#FFFFFF#000000##FFFFFF
##5B0F111.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262210
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#650011
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b0f11;
/* rgb */ color: rgb(91, 15, 17);
/* oklch */ color: oklch(31.0% 0.108 25.1);
Tailwind
colors: {
  custom: {
    50: '#90554f',
    500: '#5b0f11',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f11;
$custom-light: #90554f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f11",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 17
  },
  "hsl": {
    "h": 358.421,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30959,
    "c": 0.10802,
    "h": 25.1
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#5B0F11
secondary
#319592
accent
#EEEA39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B0F11

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

Preview Lab → · Contrast checker → · Palette generator →

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