#5B1020#5B1020

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

Color values

HEX#5B1020
RGBrgb(91, 16, 32)
HSLhsl(347, 70%, 21%)
HSVhsv(347, 82%, 36%)
CMYKcmyk(0%, 82.4%, 64.8%, 64.3%)
CIE-LABlab(18.80, 34.32, 10.64)
CIE-LCHlch(18.80, 35.93, 17.23°)
OKLaboklab(31.35% 0.1031 0.0261)
OKLCHoklch(31.35% 0.106 14.2)
XYZxyz(4.7609, 2.6997, 1.6366)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1020 #105B4B
analogous
#5B1045 #5B1020 #5B2510
triadic
#5B1020 #205B10 #10205B
tetradic
#5B1020 #455B10 #105B4B #25105B
square
#5B1020 #455B10 #105B4B #25105B
split-complementary
#5B1020 #105B25 #10455B
monochromatic
#1A0509 #27070E #5B1020 #8F1932 #C32245

Accessibility & contrast

On white

13.64
#5B1020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1020
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1020#FFFFFF#000000##FFFFFF
##5B10201.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252420
Deuteranopia (green-blind)
#38331E
Tritanopia (blue-blind)
#640017
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1020;
/* rgb */ color: rgb(91, 16, 32);
/* oklch */ color: oklch(31.3% 0.106 14.2);
Tailwind
colors: {
  custom: {
    50: '#8f565b',
    500: '#5b1020',
    950: '#000000',
  },
}
SCSS
$custom: #5b1020;
$custom-light: #8f565b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1020",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 32
  },
  "hsl": {
    "h": 347.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31347,
    "c": 0.10639,
    "h": 14.2
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#5B1020
secondary
#33947F
accent
#EDC73B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B1020

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

Preview Lab → · Contrast checker → · Palette generator →

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