#5C231E#5C231E

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

Color values

HEX#5C231E
RGBrgb(92, 35, 30)
HSLhsl(5, 51%, 24%)
HSVhsv(5, 67%, 36%)
CMYKcmyk(0%, 62%, 67.4%, 63.9%)
CIE-LABlab(22.20, 25.75, 16.46)
CIE-LCHlch(22.20, 30.56, 32.59°)
OKLaboklab(33.92% 0.0754 0.0392)
OKLCHoklch(33.92% 0.085 27.5)
XYZxyz(5.2495, 3.5718, 1.6410)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C231E #1E575C
analogous
#5C1E38 #5C231E #5C421E
triadic
#5C231E #1E5C23 #231E5C
tetradic
#5C231E #385C1E #1E575C #421E5C
square
#5C231E #385C1E #1E575C #421E5C
split-complementary
#5C231E #1E5C42 #1E385C
monochromatic
#170908 #2E110F #5C231E #8A352D #B8463C

Accessibility & contrast

On white

12.25
#5C231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5C231E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C231E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C231E#FFFFFF#000000##FFFFFF
##5C231E1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c231e;
/* rgb */ color: rgb(92, 35, 30);
/* oklch */ color: oklch(33.9% 0.085 27.5);
Tailwind
colors: {
  custom: {
    50: '#8f6059',
    500: '#5c231e',
    950: '#000000',
  },
}
SCSS
$custom: #5c231e;
$custom-light: #8f6059;
$custom-dark: #000000;
JSON
{
  "hex": "#5c231e",
  "rgb": {
    "r": 92,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 4.839,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33916,
    "c": 0.08499,
    "h": 27.5
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#5C231E
secondary
#458B91
accent
#CFDA4D
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5C231E

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

Preview Lab → · Contrast checker → · Palette generator →

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