#5F161D#5F161D

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

Color values

HEX#5F161D
RGBrgb(95, 22, 29)
HSLhsl(354, 62%, 23%)
HSVhsv(354, 77%, 37%)
CMYKcmyk(0%, 76.8%, 69.5%, 62.7%)
CIE-LABlab(20.43, 33.15, 15.02)
CIE-LCHlch(20.43, 36.40, 24.38°)
OKLaboklab(32.69% 0.0982 0.0358)
OKLCHoklch(32.69% 0.104 20)
XYZxyz(5.2285, 3.0962, 1.4845)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F161D #165F58
analogous
#5F1641 #5F161D #5F3416
triadic
#5F161D #1D5F16 #161D5F
tetradic
#5F161D #415F16 #165F58 #34165F
square
#5F161D #415F16 #165F58 #34165F
split-complementary
#5F161D #165F34 #16415F
monochromatic
#190608 #2D0A0E #5F161D #91222C #C22D3B

Accessibility & contrast

On white

12.97
#5F161D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F161D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F161D#FFFFFF#000000##FFFFFF
##5F161D1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271D
Deuteranopia (green-blind)
#3D371B
Tritanopia (blue-blind)
#690119
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f161d;
/* rgb */ color: rgb(95, 22, 29);
/* oklch */ color: oklch(32.7% 0.104 20.0);
Tailwind
colors: {
  custom: {
    50: '#925958',
    500: '#5f161d',
    950: '#000000',
  },
}
SCSS
$custom: #5f161d;
$custom-light: #925958;
$custom-dark: #000000;
JSON
{
  "hex": "#5f161d",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 29
  },
  "hsl": {
    "h": 354.247,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32689,
    "c": 0.10447,
    "h": 20
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#5F161D
secondary
#3B968D
accent
#E5D642
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F161D

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

Preview Lab → · Contrast checker → · Palette generator →

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