#5E170F#5E170F

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

Color values

HEX#5E170F
RGBrgb(94, 23, 15)
HSLhsl(6, 72%, 21%)
HSVhsv(6, 84%, 37%)
CMYKcmyk(0%, 75.5%, 84%, 63.1%)
CIE-LABlab(20.15, 31.63, 23.70)
CIE-LCHlch(20.15, 39.52, 36.85°)
OKLaboklab(32.38% 0.0902 0.0522)
OKLCHoklch(32.38% 0.104 30.1)
XYZxyz(5.0093, 3.0277, 0.7725)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E170F #0F565E
analogous
#5E0F2F #5E170F #5E3F0F
triadic
#5E170F #0F5E17 #170F5E
tetradic
#5E170F #2F5E0F #0F565E #3F0F5E
square
#5E170F #2F5E0F #0F565E #3F0F5E
split-complementary
#5E170F #0F5E3F #0F2F5E
monochromatic
#1A0604 #290A07 #5E170F #932417 #C83120

Accessibility & contrast

On white

13.08
#5E170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E170F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E170F#FFFFFF#000000##FFFFFF
##5E170F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270D
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#680016
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e170f;
/* rgb */ color: rgb(94, 23, 15);
/* oklch */ color: oklch(32.4% 0.104 30.1);
Tailwind
colors: {
  custom: {
    50: '#92594e',
    500: '#5e170f',
    950: '#000000',
  },
}
SCSS
$custom: #5e170f;
$custom-light: #92594e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e170f",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 6.076,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3238,
    "c": 0.10419,
    "h": 30.1
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#5E170F
secondary
#318D97
accent
#DDEF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5E170F

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

Preview Lab → · Contrast checker → · Palette generator →

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