#5B261D#5B261D

#5B261D is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.2% C 0.080 H 31.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#5B261D
RGBrgb(91, 38, 29)
HSLhsl(9, 52%, 24%)
HSVhsv(9, 68%, 36%)
CMYKcmyk(0%, 58.2%, 68.1%, 64.3%)
CIE-LABlab(22.65, 23.57, 17.65)
CIE-LCHlch(22.65, 29.44, 36.83°)
OKLaboklab(34.22% 0.0685 0.0418)
OKLCHoklch(34.22% 0.08 31.4)
XYZxyz(5.2297, 3.6997, 1.6009)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B261D #1D525B
analogous
#5B1D33 #5B261D #5B451D
triadic
#5B261D #1D5B26 #261D5B
tetradic
#5B261D #335B1D #1D525B #451D5B
square
#5B261D #335B1D #1D525B #451D5B
split-complementary
#5B261D #1D5B45 #1D335B
monochromatic
#170A07 #2D130E #5B261D #89392C #B84D3B

Accessibility & contrast

On white

12.07
#5B261D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5B261D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B261D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B261D#FFFFFF#000000##FFFFFF
##5B261D1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1C
Deuteranopia (green-blind)
#413A1C
Tritanopia (blue-blind)
#641C24
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b261d;
/* rgb */ color: rgb(91, 38, 29);
/* oklch */ color: oklch(34.2% 0.080 31.4);
Tailwind
colors: {
  custom: {
    50: '#8e6259',
    500: '#5b261d',
    950: '#000000',
  },
}
SCSS
$custom: #5b261d;
$custom-light: #8e6259;
$custom-dark: #000000;
JSON
{
  "hex": "#5b261d",
  "rgb": {
    "r": 91,
    "g": 38,
    "b": 29
  },
  "hsl": {
    "h": 8.71,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34216,
    "c": 0.08025,
    "h": 31.4
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#5B261D
secondary
#448590
accent
#C6DB4D
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5B261D

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

Preview Lab → · Contrast checker → · Palette generator →

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