#5B201B#5B201B

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

Color values

HEX#5B201B
RGBrgb(91, 32, 27)
HSLhsl(5, 54%, 23%)
HSVhsv(5, 70%, 36%)
CMYKcmyk(0%, 64.8%, 70.3%, 64.3%)
CIE-LABlab(21.35, 26.74, 17.36)
CIE-LCHlch(21.35, 31.88, 32.99°)
OKLaboklab(33.22% 0.078 0.0409)
OKLCHoklch(33.22% 0.088 27.7)
XYZxyz(5.0292, 3.3370, 1.4160)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B201B #1B565B
analogous
#5B1B36 #5B201B #5B401B
triadic
#5B201B #1B5B20 #201B5B
tetradic
#5B201B #365B1B #1B565B #401B5B
square
#5B201B #365B1B #1B565B #401B5B
split-complementary
#5B201B #1B5B40 #1B365B
monochromatic
#180807 #2C0F0D #5B201B #8A3129 #B94137

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B201B#FFFFFF#000000##FFFFFF
##5B201B1.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)
#2F2B1A
Deuteranopia (green-blind)
#3E3819
Tritanopia (blue-blind)
#64141F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b201b;
/* rgb */ color: rgb(91, 32, 27);
/* oklch */ color: oklch(33.2% 0.088 27.7);
Tailwind
colors: {
  custom: {
    50: '#8e5e57',
    500: '#5b201b',
    950: '#000000',
  },
}
SCSS
$custom: #5b201b;
$custom-light: #8e5e57;
$custom-dark: #000000;
JSON
{
  "hex": "#5b201b",
  "rgb": {
    "r": 91,
    "g": 32,
    "b": 27
  },
  "hsl": {
    "h": 4.688,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33217,
    "c": 0.08805,
    "h": 27.7
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#5B201B
secondary
#418B91
accent
#D2DE4A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B201B

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

Preview Lab → · Contrast checker → · Palette generator →

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