#5B281B#5B281B

#5B281B is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.5% C 0.079 H 35.4°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#5B281B
RGBrgb(91, 40, 27)
HSLhsl(12, 54%, 23%)
HSVhsv(12, 70%, 36%)
CMYKcmyk(0%, 56%, 70.3%, 64.3%)
CIE-LABlab(23.07, 22.26, 19.46)
CIE-LCHlch(23.07, 29.57, 41.15°)
OKLaboklab(34.52% 0.0641 0.0455)
OKLCHoklch(34.52% 0.079 35.4)
XYZxyz(5.2715, 3.8215, 1.4967)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B281B #1B4E5B
analogous
#5B1B2E #5B281B #5B481B
triadic
#5B281B #1B5B28 #281B5B
tetradic
#5B281B #2E5B1B #1B4E5B #481B5B
square
#5B281B #2E5B1B #1B4E5B #481B5B
split-complementary
#5B281B #1B5B48 #1B2E5B
monochromatic
#180A07 #2C130D #5B281B #8A3D29 #B95137

Accessibility & contrast

On white

11.90
#5B281B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5B281B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B281B
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B281B#FFFFFF#000000##FFFFFF
##5B281B1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301A
Deuteranopia (green-blind)
#423B1A
Tritanopia (blue-blind)
#641E25
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5b281b;
/* rgb */ color: rgb(91, 40, 27);
/* oklch */ color: oklch(34.5% 0.079 35.4);
Tailwind
colors: {
  custom: {
    50: '#8e6357',
    500: '#5b281b',
    950: '#000000',
  },
}
SCSS
$custom: #5b281b;
$custom-light: #8e6357;
$custom-dark: #000000;
JSON
{
  "hex": "#5b281b",
  "rgb": {
    "r": 91,
    "g": 40,
    "b": 27
  },
  "hsl": {
    "h": 12.188,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34524,
    "c": 0.07858,
    "h": 35.4
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#5B281B
secondary
#418191
accent
#C0DE4A
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5B281B

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

Preview Lab → · Contrast checker → · Palette generator →

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