#5B190F#5B190F

#5B190F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.0% C 0.099 H 31.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#5B190F
RGBrgb(91, 25, 15)
HSLhsl(8, 72%, 21%)
HSVhsv(8, 84%, 36%)
CMYKcmyk(0%, 72.5%, 83.5%, 64.3%)
CIE-LABlab(19.86, 29.58, 23.20)
CIE-LCHlch(19.86, 37.59, 38.11°)
OKLaboklab(32.05% 0.0842 0.0514)
OKLCHoklch(32.05% 0.099 31.4)
XYZxyz(4.7488, 2.9546, 0.7721)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B190F #0F515B
analogous
#5B0F2B #5B190F #5B3F0F
triadic
#5B190F #0F5B19 #190F5B
tetradic
#5B190F #2B5B0F #0F515B #3F0F5B
square
#5B190F #2B5B0F #0F515B #3F0F5B
split-complementary
#5B190F #0F5B3F #0F2B5B
monochromatic
#1A0704 #260B06 #5B190F #902718 #C43620

Accessibility & contrast

On white

13.20
#5B190F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5B190F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B190F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B190F#FFFFFF#000000##FFFFFF
##5B190F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270D
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#650517
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b190f;
/* rgb */ color: rgb(91, 25, 15);
/* oklch */ color: oklch(32.0% 0.099 31.4);
Tailwind
colors: {
  custom: {
    50: '#905a4e',
    500: '#5b190f',
    950: '#000000',
  },
}
SCSS
$custom: #5b190f;
$custom-light: #905a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b190f",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 15
  },
  "hsl": {
    "h": 7.895,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32045,
    "c": 0.09861,
    "h": 31.4
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#5B190F
secondary
#318795
accent
#D7EE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B190F

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

Preview Lab → · Contrast checker → · Palette generator →

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