#5F160F#5F160F

#5F160F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.5% C 0.106 H 29.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5F160F
RGBrgb(95, 22, 15)
HSLhsl(5, 73%, 22%)
HSVhsv(5, 84%, 37%)
CMYKcmyk(0%, 76.8%, 84.2%, 62.7%)
CIE-LABlab(20.21, 32.42, 23.82)
CIE-LCHlch(20.21, 40.23, 36.31°)
OKLaboklab(32.46% 0.0925 0.0524)
OKLCHoklch(32.46% 0.106 29.5)
XYZxyz(5.0930, 3.0420, 0.7708)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F160F #0F585F
analogous
#5F0F30 #5F160F #5F3E0F
triadic
#5F160F #0F5F16 #160F5F
tetradic
#5F160F #305F0F #0F585F #3E0F5F
square
#5F160F #305F0F #0F585F #3E0F5F
split-complementary
#5F160F #0F5F3E #0F305F
monochromatic
#1A0604 #2A0A07 #5F160F #942217 #C92E20

Accessibility & contrast

On white

13.06
#5F160F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F160F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F160F#FFFFFF#000000##FFFFFF
##5F160F1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f160f;
/* rgb */ color: rgb(95, 22, 15);
/* oklch */ color: oklch(32.5% 0.106 29.5);
Tailwind
colors: {
  custom: {
    50: '#93594e',
    500: '#5f160f',
    950: '#000000',
  },
}
SCSS
$custom: #5f160f;
$custom-light: #93594e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f160f",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 15
  },
  "hsl": {
    "h": 5.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32461,
    "c": 0.10633,
    "h": 29.5
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#5F160F
secondary
#328F98
accent
#DFEF38
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F160F

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

Preview Lab → · Contrast checker → · Palette generator →

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