#5B201D#5B201D

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

Color values

HEX#5B201D
RGBrgb(91, 32, 29)
HSLhsl(3, 52%, 24%)
HSVhsv(3, 68%, 36%)
CMYKcmyk(0%, 64.8%, 68.1%, 64.3%)
CIE-LABlab(21.38, 26.88, 16.06)
CIE-LCHlch(21.38, 31.31, 30.86°)
OKLaboklab(33.26% 0.0789 0.0383)
OKLCHoklch(33.26% 0.088 25.9)
XYZxyz(5.0531, 3.3465, 1.5420)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B201D #1D585B
analogous
#5B1D39 #5B201D #5B3F1D
triadic
#5B201D #1D5B20 #201D5B
tetradic
#5B201D #395B1D #1D585B #3F1D5B
square
#5B201D #395B1D #1D585B #3F1D5B
split-complementary
#5B201D #1D5B3F #1D395B
monochromatic
#170807 #2D100E #5B201D #89302C #B8413B

Accessibility & contrast

On white

12.58
#5B201D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B201D
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B201D#FFFFFF#000000##FFFFFF
##5B201D1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1C
Deuteranopia (green-blind)
#3E381C
Tritanopia (blue-blind)
#641420
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b201d;
/* rgb */ color: rgb(91, 32, 29);
/* oklch */ color: oklch(33.3% 0.088 25.9);
Tailwind
colors: {
  custom: {
    50: '#8e5e59',
    500: '#5b201d',
    950: '#000000',
  },
}
SCSS
$custom: #5b201d;
$custom-light: #8e5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b201d",
  "rgb": {
    "r": 91,
    "g": 32,
    "b": 29
  },
  "hsl": {
    "h": 2.903,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33255,
    "c": 0.08764,
    "h": 25.9
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#5B201D
secondary
#448C90
accent
#D4DB4D
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B201D

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

Preview Lab → · Contrast checker → · Palette generator →

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