#5F151B#5F151B

#5F151B is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.5% C 0.106 H 21.1°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#5F151B
RGBrgb(95, 21, 27)
HSLhsl(355, 64%, 23%)
HSVhsv(355, 78%, 37%)
CMYKcmyk(0%, 77.9%, 71.6%, 62.7%)
CIE-LABlab(20.24, 33.44, 16.17)
CIE-LCHlch(20.24, 37.14, 25.80°)
OKLaboklab(32.54% 0.0986 0.0381)
OKLCHoklch(32.54% 0.106 21.1)
XYZxyz(5.1859, 3.0491, 1.3522)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F151B #155F59
analogous
#5F1540 #5F151B #5F3415
triadic
#5F151B #1B5F15 #151B5F
tetradic
#5F151B #405F15 #155F59 #34155F
square
#5F151B #405F15 #155F59 #34155F
split-complementary
#5F151B #155F34 #15405F
monochromatic
#190607 #2D0A0D #5F151B #912029 #C32B37

Accessibility & contrast

On white

13.05
#5F151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F151B
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F151B#FFFFFF#000000##FFFFFF
##5F151B1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271B
Deuteranopia (green-blind)
#3D3719
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f151b;
/* rgb */ color: rgb(95, 21, 27);
/* oklch */ color: oklch(32.5% 0.106 21.1);
Tailwind
colors: {
  custom: {
    50: '#925957',
    500: '#5f151b',
    950: '#000000',
  },
}
SCSS
$custom: #5f151b;
$custom-light: #925957;
$custom-dark: #000000;
JSON
{
  "hex": "#5f151b",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 355.135,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32538,
    "c": 0.10568,
    "h": 21.1
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#5F151B
secondary
#3A968F
accent
#E7D941
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F151B

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

Preview Lab → · Contrast checker → · Palette generator →

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