#5D170E#5D170E

#5D170E is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.2% C 0.103 H 30.7°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#5D170E
RGBrgb(93, 23, 14)
HSLhsl(7, 74%, 21%)
HSVhsv(7, 85%, 36%)
CMYKcmyk(0%, 75.3%, 84.9%, 63.5%)
CIE-LABlab(19.93, 31.21, 23.91)
CIE-LCHlch(19.93, 39.32, 37.45°)
OKLaboklab(32.17% 0.0888 0.0527)
OKLCHoklch(32.17% 0.103 30.7)
XYZxyz(4.9004, 2.9724, 0.7311)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D170E #0E545D
analogous
#5D0E2C #5D170E #5D3E0E
triadic
#5D170E #0E5D17 #170E5D
tetradic
#5D170E #2C5D0E #0E545D #3E0E5D
square
#5D170E #2C5D0E #0E545D #3E0E5D
split-complementary
#5D170E #0E5D3E #0E2C5D
monochromatic
#1B0704 #280A06 #5D170E #922416 #C7311E

Accessibility & contrast

On white

13.17
#5D170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D170E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D170E#FFFFFF#000000##FFFFFF
##5D170E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260C
Deuteranopia (green-blind)
#3D360B
Tritanopia (blue-blind)
#670016
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d170e;
/* rgb */ color: rgb(93, 23, 14);
/* oklch */ color: oklch(32.2% 0.103 30.7);
Tailwind
colors: {
  custom: {
    50: '#92594d',
    500: '#5d170e',
    950: '#000000',
  },
}
SCSS
$custom: #5d170e;
$custom-light: #92594d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d170e",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 6.835,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32172,
    "c": 0.10321,
    "h": 30.7
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#5D170E
secondary
#308B97
accent
#DBF037
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5D170E

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

Preview Lab → · Contrast checker → · Palette generator →

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