#5B2020#5B2020

#5B2020 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.3% C 0.087 H 23.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#5B2020
RGBrgb(91, 32, 32)
HSLhsl(0, 48%, 24%)
HSVhsv(0, 65%, 36%)
CMYKcmyk(0%, 64.8%, 64.8%, 64.3%)
CIE-LABlab(21.44, 27.11, 14.11)
CIE-LCHlch(21.44, 30.56, 27.49°)
OKLaboklab(33.32% 0.0802 0.0341)
OKLCHoklch(33.32% 0.087 23.1)
XYZxyz(5.0921, 3.3621, 1.7470)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2020 #205B5B
analogous
#5B203E #5B2020 #5B3E20
triadic
#5B2020 #205B20 #20205B
tetradic
#5B2020 #3E5B20 #205B5B #3E205B
square
#5B2020 #3E5B20 #205B5B #3E205B
split-complementary
#5B2020 #205B3E #203E5B
monochromatic
#170808 #2E1010 #5B2020 #883030 #B64040

Accessibility & contrast

On white

12.56
#5B2020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5B2020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2020
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2020#FFFFFF#000000##FFFFFF
##5B20201.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2C20
Deuteranopia (green-blind)
#3E381F
Tritanopia (blue-blind)
#641521
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b2020;
/* rgb */ color: rgb(91, 32, 32);
/* oklch */ color: oklch(33.3% 0.087 23.1);
Tailwind
colors: {
  custom: {
    50: '#8e5e5b',
    500: '#5b2020',
    950: '#000000',
  },
}
SCSS
$custom: #5b2020;
$custom-light: #8e5e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2020",
  "rgb": {
    "r": 91,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33318,
    "c": 0.08716,
    "h": 23.1
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#5B2020
secondary
#478F8F
accent
#D8D850
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0404
muted
#7E7979

Preview Lab

Preview with #5B2020

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

Preview Lab → · Contrast checker → · Palette generator →

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