#5F161A#5F161A

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

Color values

HEX#5F161A
RGBrgb(95, 22, 26)
HSLhsl(357, 62%, 23%)
HSVhsv(357, 77%, 37%)
CMYKcmyk(0%, 76.8%, 72.6%, 62.7%)
CIE-LABlab(20.37, 32.96, 17.01)
CIE-LCHlch(20.37, 37.09, 27.30°)
OKLaboklab(32.63% 0.0969 0.0398)
OKLCHoklch(32.63% 0.105 22.3)
XYZxyz(5.1932, 3.0821, 1.2985)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F161A #165F5B
analogous
#5F163E #5F161A #5F3616
triadic
#5F161A #1A5F16 #161A5F
tetradic
#5F161A #3E5F16 #165F5B #36165F
square
#5F161A #3E5F16 #165F5B #36165F
split-complementary
#5F161A #165F36 #163E5F
monochromatic
#190607 #2D0A0C #5F161A #912228 #C22D35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F161A#FFFFFF#000000##FFFFFF
##5F161A1.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)
#2B271A
Deuteranopia (green-blind)
#3D3718
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f161a;
/* rgb */ color: rgb(95, 22, 26);
/* oklch */ color: oklch(32.6% 0.105 22.3);
Tailwind
colors: {
  custom: {
    50: '#925956',
    500: '#5f161a',
    950: '#000000',
  },
}
SCSS
$custom: #5f161a;
$custom-light: #925956;
$custom-dark: #000000;
JSON
{
  "hex": "#5f161a",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 356.712,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32629,
    "c": 0.10471,
    "h": 22.3
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#5F161A
secondary
#3B9691
accent
#E5DD42
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F161A

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

Preview Lab → · Contrast checker → · Palette generator →

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