#5B1019#5B1019

#5B1019 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.106 H 19.9°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#5B1019
RGBrgb(91, 16, 25)
HSLhsl(353, 70%, 21%)
HSVhsv(353, 82%, 36%)
CMYKcmyk(0%, 82.4%, 72.5%, 64.3%)
CIE-LABlab(18.65, 33.85, 15.39)
CIE-LCHlch(18.65, 37.18, 24.45°)
OKLaboklab(31.19% 0.1 0.0362)
OKLCHoklch(31.19% 0.106 19.9)
XYZxyz(4.6757, 2.6656, 1.1878)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1019 #105B52
analogous
#5B103E #5B1019 #5B2C10
triadic
#5B1019 #195B10 #10195B
tetradic
#5B1019 #3E5B10 #105B52 #2C105B
square
#5B1019 #3E5B10 #105B52 #2C105B
split-complementary
#5B1019 #105B2C #103E5B
monochromatic
#1A0507 #27070B #5B1019 #8F1927 #C32236

Accessibility & contrast

On white

13.70
#5B1019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5B1019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1019
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1019#FFFFFF#000000##FFFFFF
##5B10191.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262319
Deuteranopia (green-blind)
#393317
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b1019;
/* rgb */ color: rgb(91, 16, 25);
/* oklch */ color: oklch(31.2% 0.106 19.9);
Tailwind
colors: {
  custom: {
    50: '#8f5655',
    500: '#5b1019',
    950: '#000000',
  },
}
SCSS
$custom: #5b1019;
$custom-light: #8f5655;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1019",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 25
  },
  "hsl": {
    "h": 352.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3119,
    "c": 0.10636,
    "h": 19.9
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#5B1019
secondary
#339488
accent
#EDD83B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5B1019

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

Preview Lab → · Contrast checker → · Palette generator →

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