#5D231E#5D231E

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

Color values

HEX#5D231E
RGBrgb(93, 35, 30)
HSLhsl(5, 51%, 24%)
HSVhsv(5, 68%, 36%)
CMYKcmyk(0%, 62.4%, 67.7%, 63.5%)
CIE-LABlab(22.39, 26.17, 16.73)
CIE-LCHlch(22.39, 31.06, 32.60°)
OKLaboklab(34.09% 0.0766 0.0398)
OKLCHoklch(34.09% 0.086 27.5)
XYZxyz(5.3501, 3.6236, 1.6457)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D231E #1E585D
analogous
#5D1E39 #5D231E #5D431E
triadic
#5D231E #1E5D23 #231E5D
tetradic
#5D231E #395D1E #1E585D #431E5D
square
#5D231E #395D1E #1E585D #431E5D
split-complementary
#5D231E #1E5D43 #1E395D
monochromatic
#170907 #2F120F #5D231E #8B342D #BA463C

Accessibility & contrast

On white

12.18
#5D231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D231E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D231E#FFFFFF#000000##FFFFFF
##5D231E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d231e;
/* rgb */ color: rgb(93, 35, 30);
/* oklch */ color: oklch(34.1% 0.086 27.5);
Tailwind
colors: {
  custom: {
    50: '#8f6059',
    500: '#5d231e',
    950: '#000000',
  },
}
SCSS
$custom: #5d231e;
$custom-light: #8f6059;
$custom-dark: #000000;
JSON
{
  "hex": "#5d231e",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 4.762,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34091,
    "c": 0.08629,
    "h": 27.5
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#5D231E
secondary
#458C92
accent
#CFDB4D
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D231E

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

Preview Lab → · Contrast checker → · Palette generator →

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