#5F161E#5F161E

#5F161E is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.104 H 19.2°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#5F161E
RGBrgb(95, 22, 30)
HSLhsl(353, 62%, 23%)
HSVhsv(353, 77%, 37%)
CMYKcmyk(0%, 76.8%, 68.4%, 62.7%)
CIE-LABlab(20.44, 33.22, 14.36)
CIE-LCHlch(20.44, 36.19, 23.37°)
OKLaboklab(32.71% 0.0986 0.0344)
OKLCHoklch(32.71% 0.104 19.2)
XYZxyz(5.2411, 3.1012, 1.5507)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F161E #165F57
analogous
#5F1642 #5F161E #5F3316
triadic
#5F161E #1E5F16 #161E5F
tetradic
#5F161E #425F16 #165F57 #33165F
square
#5F161E #425F16 #165F57 #33165F
split-complementary
#5F161E #165F33 #16425F
monochromatic
#190608 #2D0A0E #5F161E #91222E #C22D3D

Accessibility & contrast

On white

12.96
#5F161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F161E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F161E#FFFFFF#000000##FFFFFF
##5F161E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271E
Deuteranopia (green-blind)
#3D371C
Tritanopia (blue-blind)
#69011A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f161e;
/* rgb */ color: rgb(95, 22, 30);
/* oklch */ color: oklch(32.7% 0.104 19.2);
Tailwind
colors: {
  custom: {
    50: '#925959',
    500: '#5f161e',
    950: '#000000',
  },
}
SCSS
$custom: #5f161e;
$custom-light: #925959;
$custom-dark: #000000;
JSON
{
  "hex": "#5f161e",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 353.425,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3271,
    "c": 0.10443,
    "h": 19.2
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#5F161E
secondary
#3B968C
accent
#E5D442
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F161E

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

Preview Lab → · Contrast checker → · Palette generator →

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