#5F161B#5F161B

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

Color values

HEX#5F161B
RGBrgb(95, 22, 27)
HSLhsl(356, 62%, 23%)
HSVhsv(356, 77%, 37%)
CMYKcmyk(0%, 76.8%, 71.6%, 62.7%)
CIE-LABlab(20.39, 33.03, 16.35)
CIE-LCHlch(20.39, 36.85, 26.34°)
OKLaboklab(32.65% 0.0973 0.0385)
OKLCHoklch(32.65% 0.105 21.6)
XYZxyz(5.2046, 3.0866, 1.3584)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F161B #165F5A
analogous
#5F163F #5F161B #5F3516
triadic
#5F161B #1B5F16 #161B5F
tetradic
#5F161B #3F5F16 #165F5A #35165F
square
#5F161B #3F5F16 #165F5A #35165F
split-complementary
#5F161B #165F35 #163F5F
monochromatic
#190607 #2D0A0D #5F161B #912229 #C22D37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F161B#FFFFFF#000000##FFFFFF
##5F161B1.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)
#2A271B
Deuteranopia (green-blind)
#3D3719
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f161b;
/* rgb */ color: rgb(95, 22, 27);
/* oklch */ color: oklch(32.6% 0.105 21.6);
Tailwind
colors: {
  custom: {
    50: '#925957',
    500: '#5f161b',
    950: '#000000',
  },
}
SCSS
$custom: #5f161b;
$custom-light: #925957;
$custom-dark: #000000;
JSON
{
  "hex": "#5f161b",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 355.89,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32648,
    "c": 0.10462,
    "h": 21.6
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#5F161B
secondary
#3B9690
accent
#E5DA42
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F161B

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

Preview Lab → · Contrast checker → · Palette generator →

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