#5F161C#5F161C

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

Color values

HEX#5F161C
RGBrgb(95, 22, 28)
HSLhsl(355, 62%, 23%)
HSVhsv(355, 77%, 37%)
CMYKcmyk(0%, 76.8%, 70.5%, 62.7%)
CIE-LABlab(20.41, 33.09, 15.69)
CIE-LCHlch(20.41, 36.62, 25.37°)
OKLaboklab(32.67% 0.0977 0.0371)
OKLCHoklch(32.67% 0.105 20.8)
XYZxyz(5.2164, 3.0913, 1.4204)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F161C #165F59
analogous
#5F1641 #5F161C #5F3416
triadic
#5F161C #1C5F16 #161C5F
tetradic
#5F161C #415F16 #165F59 #34165F
square
#5F161C #415F16 #165F59 #34165F
split-complementary
#5F161C #165F34 #16415F
monochromatic
#190607 #2D0A0D #5F161C #91222B #C22D39

Accessibility & contrast

On white

12.98
#5F161C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F161C
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F161C#FFFFFF#000000##FFFFFF
##5F161C1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f161c;
/* rgb */ color: rgb(95, 22, 28);
/* oklch */ color: oklch(32.7% 0.105 20.8);
Tailwind
colors: {
  custom: {
    50: '#925958',
    500: '#5f161c',
    950: '#000000',
  },
}
SCSS
$custom: #5f161c;
$custom-light: #925958;
$custom-dark: #000000;
JSON
{
  "hex": "#5f161c",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 28
  },
  "hsl": {
    "h": 355.068,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32668,
    "c": 0.10455,
    "h": 20.8
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#5F161C
secondary
#3B968F
accent
#E5D842
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F161C

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

Preview Lab → · Contrast checker → · Palette generator →

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