#5B190C#5B190C

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

Color values

HEX#5B190C
RGBrgb(91, 25, 12)
HSLhsl(10, 77%, 20%)
HSVhsv(10, 87%, 36%)
CMYKcmyk(0%, 72.5%, 86.8%, 64.3%)
CIE-LABlab(19.83, 29.46, 24.64)
CIE-LCHlch(19.83, 38.41, 39.91°)
OKLaboklab(32.01% 0.0831 0.0542)
OKLCHoklch(32.01% 0.099 33.1)
XYZxyz(4.7289, 2.9467, 0.6675)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B190C #0C4E5B
analogous
#5B0C27 #5B190C #5B400C
triadic
#5B190C #0C5B19 #190C5B
tetradic
#5B190C #275B0C #0C4E5B #400C5B
square
#5B190C #275B0C #0C4E5B #400C5B
split-complementary
#5B190C #0C5B40 #0C275B
monochromatic
#1B0704 #250A05 #5B190C #912813 #C7371A

Accessibility & contrast

On white

13.21
#5B190C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B190C
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B190C#FFFFFF#000000##FFFFFF
##5B190C1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b190c;
/* rgb */ color: rgb(91, 25, 12);
/* oklch */ color: oklch(32.0% 0.099 33.1);
Tailwind
colors: {
  custom: {
    50: '#905a4c',
    500: '#5b190c',
    950: '#000000',
  },
}
SCSS
$custom: #5b190c;
$custom-light: #905a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b190c",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 12
  },
  "hsl": {
    "h": 9.873,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32011,
    "c": 0.09924,
    "h": 33.1
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#5B190C
secondary
#2D8496
accent
#D4F335
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B190C

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

Preview Lab → · Contrast checker → · Palette generator →

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