#5F160D#5F160D

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

Color values

HEX#5F160D
RGBrgb(95, 22, 13)
HSLhsl(7, 76%, 21%)
HSVhsv(7, 86%, 37%)
CMYKcmyk(0%, 76.8%, 86.3%, 62.7%)
CIE-LABlab(20.19, 32.34, 24.81)
CIE-LCHlch(20.19, 40.76, 37.49°)
OKLaboklab(32.44% 0.0919 0.0543)
OKLCHoklch(32.44% 0.107 30.6)
XYZxyz(5.0795, 3.0366, 0.6993)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F160D #0D565F
analogous
#5F0D2D #5F160D #5F3F0D
triadic
#5F160D #0D5F16 #160D5F
tetradic
#5F160D #2D5F0D #0D565F #3F0D5F
square
#5F160D #2D5F0D #0D565F #3F0D5F
split-complementary
#5F160D #0D5F3F #0D2D5F
monochromatic
#1B0604 #290A06 #5F160D #952214 #CB2F1C

Accessibility & contrast

On white

13.07
#5F160D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F160D
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F160D#FFFFFF#000000##FFFFFF
##5F160D1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f160d;
/* rgb */ color: rgb(95, 22, 13);
/* oklch */ color: oklch(32.4% 0.107 30.6);
Tailwind
colors: {
  custom: {
    50: '#93594d',
    500: '#5f160d',
    950: '#000000',
  },
}
SCSS
$custom: #5f160d;
$custom-light: #93594d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f160d",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 13
  },
  "hsl": {
    "h": 6.585,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32438,
    "c": 0.10668,
    "h": 30.6
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#5F160D
secondary
#2F8D99
accent
#DEF335
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F160D

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

Preview Lab → · Contrast checker → · Palette generator →

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