#5B191F#5B191F

#5B191F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.096 H 19.2°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#5B191F
RGBrgb(91, 25, 31)
HSLhsl(355, 57%, 23%)
HSVhsv(355, 73%, 36%)
CMYKcmyk(0%, 72.5%, 65.9%, 64.3%)
CIE-LABlab(20.12, 30.52, 13.08)
CIE-LCHlch(20.12, 33.21, 23.20°)
OKLaboklab(32.32% 0.0908 0.0317)
OKLCHoklch(32.32% 0.096 19.2)
XYZxyz(4.9098, 3.0190, 1.6202)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B191F #195B55
analogous
#5B1940 #5B191F #5B3419
triadic
#5B191F #1F5B19 #191F5B
tetradic
#5B191F #405B19 #195B55 #34195B
square
#5B191F #405B19 #195B55 #34195B
split-complementary
#5B191F #195B34 #19405B
monochromatic
#180708 #2B0C0F #5B191F #8B262F #BB3340

Accessibility & contrast

On white

13.10
#5B191F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B191F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B191F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B191F#FFFFFF#000000##FFFFFF
##5B191F1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A281F
Deuteranopia (green-blind)
#3B361D
Tritanopia (blue-blind)
#64091C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b191f;
/* rgb */ color: rgb(91, 25, 31);
/* oklch */ color: oklch(32.3% 0.096 19.2);
Tailwind
colors: {
  custom: {
    50: '#8e5a5a',
    500: '#5b191f',
    950: '#000000',
  },
}
SCSS
$custom: #5b191f;
$custom-light: #8e5a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b191f",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 31
  },
  "hsl": {
    "h": 354.545,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32322,
    "c": 0.09616,
    "h": 19.2
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#5B191F
secondary
#3F918A
accent
#E0D248
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B191F

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

Preview Lab → · Contrast checker → · Palette generator →

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