#5D2118#5D2118

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

Color values

HEX#5D2118
RGBrgb(93, 33, 24)
HSLhsl(8, 59%, 23%)
HSVhsv(8, 74%, 36%)
CMYKcmyk(0%, 64.5%, 74.2%, 63.5%)
CIE-LABlab(21.88, 26.83, 20.06)
CIE-LCHlch(21.88, 33.50, 36.78°)
OKLaboklab(33.67% 0.0774 0.0463)
OKLCHoklch(33.67% 0.09 30.9)
XYZxyz(5.2235, 3.4815, 1.2609)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2118 #18545D
analogous
#5D1831 #5D2118 #5D4318
triadic
#5D2118 #185D21 #21185D
tetradic
#5D2118 #315D18 #18545D #43185D
square
#5D2118 #315D18 #18545D #43185D
split-complementary
#5D2118 #185D43 #18315D
monochromatic
#180906 #2C100B #5D2118 #8E3225 #BE4431

Accessibility & contrast

On white

12.38
#5D2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2118
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2118#FFFFFF#000000##FFFFFF
##5D21181.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C17
Deuteranopia (green-blind)
#403916
Tritanopia (blue-blind)
#67141F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d2118;
/* rgb */ color: rgb(93, 33, 24);
/* oklch */ color: oklch(33.7% 0.090 30.9);
Tailwind
colors: {
  custom: {
    50: '#905f55',
    500: '#5d2118',
    950: '#000000',
  },
}
SCSS
$custom: #5d2118;
$custom-light: #905f55;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2118",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 7.826,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33675,
    "c": 0.09013,
    "h": 30.9
  },
  "luminance": 0.03481
}

Semantic roles & 50–950 ramp

primary
#5D2118
secondary
#3D8893
accent
#CEE246
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D2118

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

Preview Lab → · Contrast checker → · Palette generator →

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