#5B1022#5B1022

#5B1022 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.107 H 12.5°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#5B1022
RGBrgb(91, 16, 34)
HSLhsl(346, 70%, 21%)
HSVhsv(346, 82%, 36%)
CMYKcmyk(0%, 82.4%, 62.6%, 64.3%)
CIE-LABlab(18.85, 34.47, 9.28)
CIE-LCHlch(18.85, 35.70, 15.07°)
OKLaboklab(31.4% 0.104 0.0231)
OKLCHoklch(31.4% 0.107 12.5)
XYZxyz(4.7889, 2.7109, 1.7842)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1022 #105B49
analogous
#5B1047 #5B1022 #5B2310
triadic
#5B1022 #225B10 #10225B
tetradic
#5B1022 #475B10 #105B49 #23105B
square
#5B1022 #475B10 #105B49 #23105B
split-complementary
#5B1022 #105B23 #10475B
monochromatic
#1A050A #27070F #5B1022 #8F1935 #C32249

Accessibility & contrast

On white

13.62
#5B1022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5B1022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1022
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1022#FFFFFF#000000##FFFFFF
##5B10221.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252422
Deuteranopia (green-blind)
#383320
Tritanopia (blue-blind)
#640018
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1022;
/* rgb */ color: rgb(91, 16, 34);
/* oklch */ color: oklch(31.4% 0.107 12.5);
Tailwind
colors: {
  custom: {
    50: '#8f565c',
    500: '#5b1022',
    950: '#000000',
  },
}
SCSS
$custom: #5b1022;
$custom-light: #8f565c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1022",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 34
  },
  "hsl": {
    "h": 345.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31398,
    "c": 0.10655,
    "h": 12.5
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#5B1022
secondary
#33947D
accent
#EDC23B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B1022

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

Preview Lab → · Contrast checker → · Palette generator →

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