#5B241F#5B241F

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

Color values

HEX#5B241F
RGBrgb(91, 36, 31)
HSLhsl(5, 49%, 24%)
HSVhsv(5, 66%, 36%)
CMYKcmyk(0%, 60.4%, 65.9%, 64.3%)
CIE-LABlab(22.25, 24.85, 15.82)
CIE-LCHlch(22.25, 29.46, 32.48°)
OKLaboklab(33.92% 0.0729 0.0379)
OKLCHoklch(33.92% 0.082 27.5)
XYZxyz(5.1930, 3.5855, 1.7147)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B241F #1F565B
analogous
#5B1F38 #5B241F #5B421F
triadic
#5B241F #1F5B24 #241F5B
tetradic
#5B241F #385B1F #1F565B #421F5B
square
#5B241F #385B1F #1F565B #421F5B
split-complementary
#5B241F #1F5B42 #1F385B
monochromatic
#170908 #2D120F #5B241F #89362F #B6483E

Accessibility & contrast

On white

12.23
#5B241F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B241F
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B241F#FFFFFF#000000##FFFFFF
##5B241F1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b241f;
/* rgb */ color: rgb(91, 36, 31);
/* oklch */ color: oklch(33.9% 0.082 27.5);
Tailwind
colors: {
  custom: {
    50: '#8e615a',
    500: '#5b241f',
    950: '#000000',
  },
}
SCSS
$custom: #5b241f;
$custom-light: #8e615a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b241f",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 31
  },
  "hsl": {
    "h": 5,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33923,
    "c": 0.08219,
    "h": 27.5
  },
  "luminance": 0.03585
}

Semantic roles & 50–950 ramp

primary
#5B241F
secondary
#468A90
accent
#CDD94F
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5B241F

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

Preview Lab → · Contrast checker → · Palette generator →

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