#5E161F#5E161F

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

Color values

HEX#5E161F
RGBrgb(94, 22, 31)
HSLhsl(353, 62%, 23%)
HSVhsv(353, 77%, 37%)
CMYKcmyk(0%, 76.6%, 67%, 63.1%)
CIE-LABlab(20.26, 32.94, 13.38)
CIE-LCHlch(20.26, 35.55, 22.10°)
OKLaboklab(32.54% 0.0981 0.0323)
OKLCHoklch(32.54% 0.103 18.2)
XYZxyz(5.1509, 3.0532, 1.6142)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E161F #165E55
analogous
#5E1643 #5E161F #5E3116
triadic
#5E161F #1F5E16 #161F5E
tetradic
#5E161F #435E16 #165E55 #31165E
square
#5E161F #435E16 #165E55 #31165E
split-complementary
#5E161F #165E31 #16435E
monochromatic
#190608 #2C0A0F #5E161F #90222F #C12D40

Accessibility & contrast

On white

13.04
#5E161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E161F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E161F#FFFFFF#000000##FFFFFF
##5E161F1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271F
Deuteranopia (green-blind)
#3C361D
Tritanopia (blue-blind)
#68021A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e161f;
/* rgb */ color: rgb(94, 22, 31);
/* oklch */ color: oklch(32.5% 0.103 18.2);
Tailwind
colors: {
  custom: {
    50: '#91595a',
    500: '#5e161f',
    950: '#000000',
  },
}
SCSS
$custom: #5e161f;
$custom-light: #91595a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e161f",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 352.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32537,
    "c": 0.10325,
    "h": 18.2
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#5E161F
secondary
#3B958A
accent
#E5D143
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E161F

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

Preview Lab → · Contrast checker → · Palette generator →

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