#5E171A#5E171A

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

Color values

HEX#5E171A
RGBrgb(94, 23, 26)
HSLhsl(357, 61%, 23%)
HSVhsv(357, 76%, 37%)
CMYKcmyk(0%, 75.5%, 72.3%, 63.1%)
CIE-LABlab(20.31, 32.18, 16.90)
CIE-LCHlch(20.31, 36.35, 27.70°)
OKLaboklab(32.55% 0.0945 0.0396)
OKLCHoklch(32.55% 0.102 22.7)
XYZxyz(5.1095, 3.0678, 1.3002)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E171A #175E5B
analogous
#5E173D #5E171A #5E3717
triadic
#5E171A #1A5E17 #171A5E
tetradic
#5E171A #3D5E17 #175E5B #37175E
square
#5E171A #3D5E17 #175E5B #37175E
split-complementary
#5E171A #175E37 #173D5E
monochromatic
#190607 #2D0B0C #5E171A #8F2328 #C02F35

Accessibility & contrast

On white

13.02
#5E171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E171A
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E171A#FFFFFF#000000##FFFFFF
##5E171A1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2719
Deuteranopia (green-blind)
#3D3718
Tritanopia (blue-blind)
#680219
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e171a;
/* rgb */ color: rgb(94, 23, 26);
/* oklch */ color: oklch(32.5% 0.102 22.7);
Tailwind
colors: {
  custom: {
    50: '#915a56',
    500: '#5e171a',
    950: '#000000',
  },
}
SCSS
$custom: #5e171a;
$custom-light: #915a56;
$custom-dark: #000000;
JSON
{
  "hex": "#5e171a",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 357.465,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32549,
    "c": 0.10246,
    "h": 22.7
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#5E171A
secondary
#3C9591
accent
#E4DD44
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E171A

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

Preview Lab → · Contrast checker → · Palette generator →

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