#5B201F#5B201F

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

Color values

HEX#5B201F
RGBrgb(91, 32, 31)
HSLhsl(1, 49%, 24%)
HSVhsv(1, 66%, 36%)
CMYKcmyk(0%, 64.8%, 65.9%, 64.3%)
CIE-LABlab(21.42, 27.03, 14.76)
CIE-LCHlch(21.42, 30.80, 28.64°)
OKLaboklab(33.3% 0.0798 0.0355)
OKLCHoklch(33.3% 0.087 24)
XYZxyz(5.0787, 3.3568, 1.6765)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B201F #1F5A5B
analogous
#5B1F3C #5B201F #5B3E1F
triadic
#5B201F #1F5B20 #201F5B
tetradic
#5B201F #3C5B1F #1F5A5B #3E1F5B
square
#5B201F #3C5B1F #1F5A5B #3E1F5B
split-complementary
#5B201F #1F5B3E #1F3C5B
monochromatic
#170808 #2D100F #5B201F #89302F #B6403E

Accessibility & contrast

On white

12.57
#5B201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B201F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B201F#FFFFFF#000000##FFFFFF
##5B201F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2C1E
Deuteranopia (green-blind)
#3E381E
Tritanopia (blue-blind)
#641520
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b201f;
/* rgb */ color: rgb(91, 32, 31);
/* oklch */ color: oklch(33.3% 0.087 24.0);
Tailwind
colors: {
  custom: {
    50: '#8e5e5a',
    500: '#5b201f',
    950: '#000000',
  },
}
SCSS
$custom: #5b201f;
$custom-light: #8e5e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b201f",
  "rgb": {
    "r": 91,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 1,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33296,
    "c": 0.08731,
    "h": 24
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#5B201F
secondary
#468E90
accent
#D6D94F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B201F

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

Preview Lab → · Contrast checker → · Palette generator →

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