#5E170D#5E170D

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

Color values

HEX#5E170D
RGBrgb(94, 23, 13)
HSLhsl(7, 76%, 21%)
HSVhsv(7, 86%, 37%)
CMYKcmyk(0%, 75.5%, 86.2%, 63.1%)
CIE-LABlab(20.13, 31.55, 24.69)
CIE-LCHlch(20.13, 40.06, 38.04°)
OKLaboklab(32.36% 0.0895 0.0541)
OKLCHoklch(32.36% 0.105 31.1)
XYZxyz(4.9957, 3.0223, 0.7010)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E170D #0D545E
analogous
#5E0D2B #5E170D #5E3F0D
triadic
#5E170D #0D5E17 #170D5E
tetradic
#5E170D #2B5E0D #0D545E #3F0D5E
square
#5E170D #2B5E0D #0D545E #3F0D5E
split-complementary
#5E170D #0D5E3F #0D2B5E
monochromatic
#1B0704 #280A06 #5E170D #942414 #CA311C

Accessibility & contrast

On white

13.09
#5E170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5E170D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E170D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E170D#FFFFFF#000000##FFFFFF
##5E170D1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270B
Deuteranopia (green-blind)
#3E360A
Tritanopia (blue-blind)
#680015
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e170d;
/* rgb */ color: rgb(94, 23, 13);
/* oklch */ color: oklch(32.4% 0.105 31.1);
Tailwind
colors: {
  custom: {
    50: '#93594d',
    500: '#5e170d',
    950: '#000000',
  },
}
SCSS
$custom: #5e170d;
$custom-light: #93594d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e170d",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 7.407,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32357,
    "c": 0.10457,
    "h": 31.1
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#5E170D
secondary
#2F8B98
accent
#DBF236
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5E170D

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

Preview Lab → · Contrast checker → · Palette generator →

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