#5B231E#5B231E

#5B231E is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.7% C 0.084 H 27.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#5B231E
RGBrgb(91, 35, 30)
HSLhsl(5, 50%, 24%)
HSVhsv(5, 67%, 36%)
CMYKcmyk(0%, 61.5%, 67%, 64.3%)
CIE-LABlab(22.02, 25.33, 16.19)
CIE-LCHlch(22.02, 30.06, 32.59°)
OKLaboklab(33.74% 0.0742 0.0387)
OKLCHoklch(33.74% 0.084 27.5)
XYZxyz(5.1502, 3.5206, 1.6364)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B231E #1E565B
analogous
#5B1E37 #5B231E #5B411E
triadic
#5B231E #1E5B23 #231E5B
tetradic
#5B231E #375B1E #1E565B #411E5B
square
#5B231E #375B1E #1E565B #411E5B
split-complementary
#5B231E #1E5B41 #1E375B
monochromatic
#170908 #2D110F #5B231E #89352D #B7463C

Accessibility & contrast

On white

12.32
#5B231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5B231E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B231E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B231E#FFFFFF#000000##FFFFFF
##5B231E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1D
Deuteranopia (green-blind)
#3F391D
Tritanopia (blue-blind)
#641822
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5b231e;
/* rgb */ color: rgb(91, 35, 30);
/* oklch */ color: oklch(33.7% 0.084 27.5);
Tailwind
colors: {
  custom: {
    50: '#8e6059',
    500: '#5b231e',
    950: '#000000',
  },
}
SCSS
$custom: #5b231e;
$custom-light: #8e6059;
$custom-dark: #000000;
JSON
{
  "hex": "#5b231e",
  "rgb": {
    "r": 91,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 4.918,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33742,
    "c": 0.08367,
    "h": 27.5
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#5B231E
secondary
#458A90
accent
#CEDA4E
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5B231E

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

Preview Lab → · Contrast checker → · Palette generator →

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