#5B241E#5B241E

#5B241E is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.9% C 0.082 H 28.5°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#5B241E
RGBrgb(91, 36, 30)
HSLhsl(6, 50%, 24%)
HSVhsv(6, 67%, 36%)
CMYKcmyk(0%, 60.4%, 67%, 64.3%)
CIE-LABlab(22.23, 24.78, 16.46)
CIE-LCHlch(22.23, 29.75, 33.60°)
OKLaboklab(33.9% 0.0725 0.0393)
OKLCHoklch(33.9% 0.082 28.5)
XYZxyz(5.1801, 3.5803, 1.6463)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B241E #1E555B
analogous
#5B1E36 #5B241E #5B421E
triadic
#5B241E #1E5B24 #241E5B
tetradic
#5B241E #365B1E #1E555B #421E5B
square
#5B241E #365B1E #1E555B #421E5B
split-complementary
#5B241E #1E5B42 #1E365B
monochromatic
#170908 #2D120F #5B241E #89362D #B7483C

Accessibility & contrast

On white

12.24
#5B241E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5B241E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B241E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B241E#FFFFFF#000000##FFFFFF
##5B241E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1D
Deuteranopia (green-blind)
#403A1D
Tritanopia (blue-blind)
#641A23
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5b241e;
/* rgb */ color: rgb(91, 36, 30);
/* oklch */ color: oklch(33.9% 0.082 28.5);
Tailwind
colors: {
  custom: {
    50: '#8e6159',
    500: '#5b241e',
    950: '#000000',
  },
}
SCSS
$custom: #5b241e;
$custom-light: #8e6159;
$custom-dark: #000000;
JSON
{
  "hex": "#5b241e",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 30
  },
  "hsl": {
    "h": 5.902,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33904,
    "c": 0.08243,
    "h": 28.5
  },
  "luminance": 0.0358
}

Semantic roles & 50–950 ramp

primary
#5B241E
secondary
#458990
accent
#CCDA4E
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5B241E

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

Preview Lab → · Contrast checker → · Palette generator →

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