#5D1517#5D1517

#5D1517 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.104 H 23.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#5D1517
RGBrgb(93, 21, 23)
HSLhsl(358, 63%, 22%)
HSVhsv(358, 77%, 36%)
CMYKcmyk(0%, 77.4%, 75.3%, 63.5%)
CIE-LABlab(19.75, 32.49, 18.20)
CIE-LCHlch(19.75, 37.24, 29.25°)
OKLaboklab(32.07% 0.0949 0.042)
OKLCHoklch(32.07% 0.104 23.9)
XYZxyz(4.9376, 2.9261, 1.1152)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1517 #155D5B
analogous
#5D153B #5D1517 #5D3715
triadic
#5D1517 #175D15 #15175D
tetradic
#5D1517 #3B5D15 #155D5B #37155D
square
#5D1517 #3B5D15 #155D5B #37155D
split-complementary
#5D1517 #155D37 #153B5D
monochromatic
#190606 #2B0A0B #5D1517 #8F2023 #C12C30

Accessibility & contrast

On white

13.25
#5D1517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5D1517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1517
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1517#FFFFFF#000000##FFFFFF
##5D15171.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2616
Deuteranopia (green-blind)
#3C3515
Tritanopia (blue-blind)
#670017
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1517;
/* rgb */ color: rgb(93, 21, 23);
/* oklch */ color: oklch(32.1% 0.104 23.9);
Tailwind
colors: {
  custom: {
    50: '#915854',
    500: '#5d1517',
    950: '#000000',
  },
}
SCSS
$custom: #5d1517;
$custom-light: #915854;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1517",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 23
  },
  "hsl": {
    "h": 358.333,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32071,
    "c": 0.10378,
    "h": 23.9
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#5D1517
secondary
#399492
accent
#E6E242
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5D1517

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

Preview Lab → · Contrast checker → · Palette generator →

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