#5E171E#5E171E

#5E171E is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.102 H 19.5°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#5E171E
RGBrgb(94, 23, 30)
HSLhsl(354, 61%, 23%)
HSVhsv(354, 76%, 37%)
CMYKcmyk(0%, 75.5%, 68.1%, 63.1%)
CIE-LABlab(20.39, 32.44, 14.24)
CIE-LCHlch(20.39, 35.43, 23.70°)
OKLaboklab(32.63% 0.0963 0.0342)
OKLCHoklch(32.63% 0.102 19.5)
XYZxyz(5.1574, 3.0870, 1.5523)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E171E #175E57
analogous
#5E1741 #5E171E #5E3417
triadic
#5E171E #1E5E17 #171E5E
tetradic
#5E171E #415E17 #175E57 #34175E
square
#5E171E #415E17 #175E57 #34175E
split-complementary
#5E171E #175E34 #17415E
monochromatic
#190608 #2D0B0E #5E171E #8F232E #C02F3D

Accessibility & contrast

On white

12.99
#5E171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5E171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E171E
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E171E#FFFFFF#000000##FFFFFF
##5E171E1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A281E
Deuteranopia (green-blind)
#3C371C
Tritanopia (blue-blind)
#68041A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e171e;
/* rgb */ color: rgb(94, 23, 30);
/* oklch */ color: oklch(32.6% 0.102 19.5);
Tailwind
colors: {
  custom: {
    50: '#915a59',
    500: '#5e171e',
    950: '#000000',
  },
}
SCSS
$custom: #5e171e;
$custom-light: #915a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e171e",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 354.085,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3263,
    "c": 0.10215,
    "h": 19.5
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#5E171E
secondary
#3C958C
accent
#E4D444
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E171E

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

Preview Lab → · Contrast checker → · Palette generator →

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