#5D1817#5D1817

#5D1817 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.101 H 25.4°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5D1817
RGBrgb(93, 24, 23)
HSLhsl(1, 60%, 23%)
HSVhsv(1, 75%, 36%)
CMYKcmyk(0%, 74.2%, 75.3%, 63.5%)
CIE-LABlab(20.22, 31.20, 18.75)
CIE-LCHlch(20.22, 36.40, 31.01°)
OKLaboklab(32.42% 0.0908 0.0432)
OKLCHoklch(32.42% 0.101 25.4)
XYZxyz(4.9960, 3.0430, 1.1347)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1817 #175C5D
analogous
#5D1739 #5D1817 #5D3B17
triadic
#5D1817 #175D18 #18175D
tetradic
#5D1817 #395D17 #175C5D #3B175D
square
#5D1817 #395D17 #175C5D #3B175D
split-complementary
#5D1817 #175D3B #17395D
monochromatic
#190606 #2C0B0B #5D1817 #8E2523 #BF312F

Accessibility & contrast

On white

13.06
#5D1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5D1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1817
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1817#FFFFFF#000000##FFFFFF
##5D18171.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2716
Deuteranopia (green-blind)
#3D3615
Tritanopia (blue-blind)
#670419
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1817;
/* rgb */ color: rgb(93, 24, 23);
/* oklch */ color: oklch(32.4% 0.101 25.4);
Tailwind
colors: {
  custom: {
    50: '#915a54',
    500: '#5d1817',
    950: '#000000',
  },
}
SCSS
$custom: #5d1817;
$custom-light: #915a54;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1817",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.857,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32421,
    "c": 0.10058,
    "h": 25.4
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#5D1817
secondary
#3C9394
accent
#E1E344
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5D1817

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

Preview Lab → · Contrast checker → · Palette generator →

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