#5F161F#5F161F

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

Color values

HEX#5F161F
RGBrgb(95, 22, 31)
HSLhsl(353, 62%, 23%)
HSVhsv(353, 77%, 37%)
CMYKcmyk(0%, 76.8%, 67.4%, 62.7%)
CIE-LABlab(20.47, 33.29, 13.69)
CIE-LCHlch(20.47, 36.00, 22.35°)
OKLaboklab(32.73% 0.0991 0.033)
OKLCHoklch(32.73% 0.104 18.4)
XYZxyz(5.2541, 3.1064, 1.6190)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F161F #165F56
analogous
#5F1643 #5F161F #5F3116
triadic
#5F161F #1F5F16 #161F5F
tetradic
#5F161F #435F16 #165F56 #31165F
square
#5F161F #435F16 #165F56 #31165F
split-complementary
#5F161F #165F31 #16435F
monochromatic
#190608 #2D0A0F #5F161F #91222F #C22D3F

Accessibility & contrast

On white

12.95
#5F161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F161F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F161F#FFFFFF#000000##FFFFFF
##5F161F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A281F
Deuteranopia (green-blind)
#3C371D
Tritanopia (blue-blind)
#69021A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f161f;
/* rgb */ color: rgb(95, 22, 31);
/* oklch */ color: oklch(32.7% 0.104 18.4);
Tailwind
colors: {
  custom: {
    50: '#92595a',
    500: '#5f161f',
    950: '#000000',
  },
}
SCSS
$custom: #5f161f;
$custom-light: #92595a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f161f",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 352.603,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32731,
    "c": 0.10439,
    "h": 18.4
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#5F161F
secondary
#3B968B
accent
#E5D142
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F161F

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

Preview Lab → · Contrast checker → · Palette generator →

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