#5B201A#5B201A

#5B201A is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.2% C 0.088 H 28.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#5B201A
RGBrgb(91, 32, 26)
HSLhsl(6, 56%, 23%)
HSVhsv(6, 71%, 36%)
CMYKcmyk(0%, 64.8%, 71.4%, 64.3%)
CIE-LABlab(21.33, 26.67, 18.00)
CIE-LCHlch(21.33, 32.18, 34.02°)
OKLaboklab(33.2% 0.0775 0.0422)
OKLCHoklch(33.2% 0.088 28.5)
XYZxyz(5.0178, 3.3324, 1.3561)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B201A #1A555B
analogous
#5B1A35 #5B201A #5B401A
triadic
#5B201A #1A5B20 #201A5B
tetradic
#5B201A #355B1A #1A555B #401A5B
square
#5B201A #355B1A #1A555B #401A5B
split-complementary
#5B201A #1A5B40 #1A355B
monochromatic
#180807 #2B0F0C #5B201A #8B3128 #BA4135

Accessibility & contrast

On white

12.60
#5B201A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B201A
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B201A#FFFFFF#000000##FFFFFF
##5B201A1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B19
Deuteranopia (green-blind)
#3E3818
Tritanopia (blue-blind)
#64141F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b201a;
/* rgb */ color: rgb(91, 32, 26);
/* oklch */ color: oklch(33.2% 0.088 28.5);
Tailwind
colors: {
  custom: {
    50: '#8e5e56',
    500: '#5b201a',
    950: '#000000',
  },
}
SCSS
$custom: #5b201a;
$custom-light: #8e5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b201a",
  "rgb": {
    "r": 91,
    "g": 32,
    "b": 26
  },
  "hsl": {
    "h": 5.538,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33199,
    "c": 0.08826,
    "h": 28.5
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#5B201A
secondary
#408A91
accent
#D1DF49
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B201A

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

Preview Lab → · Contrast checker → · Palette generator →

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