#5D2117#5D2117

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

Color values

HEX#5D2117
RGBrgb(93, 33, 23)
HSLhsl(9, 60%, 23%)
HSVhsv(9, 75%, 36%)
CMYKcmyk(0%, 64.5%, 75.3%, 63.5%)
CIE-LABlab(21.86, 26.77, 20.68)
CIE-LCHlch(21.86, 33.83, 37.69°)
OKLaboklab(33.66% 0.077 0.0474)
OKLCHoklch(33.66% 0.09 31.6)
XYZxyz(5.2132, 3.4774, 1.2071)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2117 #17535D
analogous
#5D1730 #5D2117 #5D4417
triadic
#5D2117 #175D21 #21175D
tetradic
#5D2117 #305D17 #17535D #44175D
square
#5D2117 #305D17 #17535D #44175D
split-complementary
#5D2117 #175D44 #17305D
monochromatic
#190906 #2C100B #5D2117 #8E3223 #BF442F

Accessibility & contrast

On white

12.39
#5D2117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2117
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2117#FFFFFF#000000##FFFFFF
##5D21171.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2117;
/* rgb */ color: rgb(93, 33, 23);
/* oklch */ color: oklch(33.7% 0.090 31.6);
Tailwind
colors: {
  custom: {
    50: '#905f54',
    500: '#5d2117',
    950: '#000000',
  },
}
SCSS
$custom: #5d2117;
$custom-light: #905f54;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2117",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 8.571,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33659,
    "c": 0.09039,
    "h": 31.6
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#5D2117
secondary
#3C8794
accent
#CDE344
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5D2117

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

Preview Lab → · Contrast checker → · Palette generator →

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