#5E170E#5E170E

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

Color values

HEX#5E170E
RGBrgb(94, 23, 14)
HSLhsl(7, 74%, 21%)
HSVhsv(7, 85%, 37%)
CMYKcmyk(0%, 75.5%, 85.1%, 63.1%)
CIE-LABlab(20.14, 31.59, 24.20)
CIE-LCHlch(20.14, 39.79, 37.46°)
OKLaboklab(32.37% 0.0898 0.0532)
OKLCHoklch(32.37% 0.104 30.6)
XYZxyz(5.0023, 3.0249, 0.7359)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E170E #0E555E
analogous
#5E0E2D #5E170E #5E3F0E
triadic
#5E170E #0E5E17 #170E5E
tetradic
#5E170E #2D5E0E #0E555E #3F0E5E
square
#5E170E #2D5E0E #0E555E #3F0E5E
split-complementary
#5E170E #0E5E3F #0E2D5E
monochromatic
#1B0704 #290A06 #5E170E #932416 #C9311E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E170E#FFFFFF#000000##FFFFFF
##5E170E1.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)
#2C270C
Deuteranopia (green-blind)
#3E360B
Tritanopia (blue-blind)
#680016
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e170e;
/* rgb */ color: rgb(94, 23, 14);
/* oklch */ color: oklch(32.4% 0.104 30.6);
Tailwind
colors: {
  custom: {
    50: '#93594d',
    500: '#5e170e',
    950: '#000000',
  },
}
SCSS
$custom: #5e170e;
$custom-light: #93594d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e170e",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 6.75,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32368,
    "c": 0.10438,
    "h": 30.6
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#5E170E
secondary
#308C98
accent
#DCF137
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5E170E

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

Preview Lab → · Contrast checker → · Palette generator →

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