#5B201C#5B201C

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

Color values

HEX#5B201C
RGBrgb(91, 32, 28)
HSLhsl(4, 53%, 23%)
HSVhsv(4, 69%, 36%)
CMYKcmyk(0%, 64.8%, 69.2%, 64.3%)
CIE-LABlab(21.36, 26.81, 16.71)
CIE-LCHlch(21.36, 31.59, 31.94°)
OKLaboklab(33.24% 0.0784 0.0396)
OKLCHoklch(33.24% 0.088 26.8)
XYZxyz(5.0410, 3.3417, 1.4779)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B201C #1C575B
analogous
#5B1C37 #5B201C #5B3F1C
triadic
#5B201C #1C5B20 #201C5B
tetradic
#5B201C #375B1C #1C575B #3F1C5B
square
#5B201C #375B1C #1C575B #3F1C5B
split-complementary
#5B201C #1C5B3F #1C375B
monochromatic
#170807 #2C100E #5B201C #8A302A #B94139

Accessibility & contrast

On white

12.59
#5B201C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B201C
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B201C#FFFFFF#000000##FFFFFF
##5B201C1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1B
Deuteranopia (green-blind)
#3E381A
Tritanopia (blue-blind)
#64141F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b201c;
/* rgb */ color: rgb(91, 32, 28);
/* oklch */ color: oklch(33.2% 0.088 26.8);
Tailwind
colors: {
  custom: {
    50: '#8e5e58',
    500: '#5b201c',
    950: '#000000',
  },
}
SCSS
$custom: #5b201c;
$custom-light: #8e5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b201c",
  "rgb": {
    "r": 91,
    "g": 32,
    "b": 28
  },
  "hsl": {
    "h": 3.81,
    "s": 52.941,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33236,
    "c": 0.08783,
    "h": 26.8
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#5B201C
secondary
#428B90
accent
#D3DC4B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B201C

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

Preview Lab → · Contrast checker → · Palette generator →

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