#5F151A#5F151A

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

Color values

HEX#5F151A
RGBrgb(95, 21, 26)
HSLhsl(356, 64%, 23%)
HSVhsv(356, 78%, 37%)
CMYKcmyk(0%, 77.9%, 72.6%, 62.7%)
CIE-LABlab(20.22, 33.37, 16.83)
CIE-LCHlch(20.22, 37.38, 26.76°)
OKLaboklab(32.52% 0.0982 0.0394)
OKLCHoklch(32.52% 0.106 21.9)
XYZxyz(5.1745, 3.0446, 1.2923)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F151A #155F5A
analogous
#5F153F #5F151A #5F3515
triadic
#5F151A #1A5F15 #151A5F
tetradic
#5F151A #3F5F15 #155F5A #35155F
square
#5F151A #3F5F15 #155F5A #35155F
split-complementary
#5F151A #155F35 #153F5F
monochromatic
#190607 #2D0A0C #5F151A #912028 #C32B35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F151A#FFFFFF#000000##FFFFFF
##5F151A1.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)
#2A271A
Deuteranopia (green-blind)
#3D3718
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f151a;
/* rgb */ color: rgb(95, 21, 26);
/* oklch */ color: oklch(32.5% 0.106 21.9);
Tailwind
colors: {
  custom: {
    50: '#925956',
    500: '#5f151a',
    950: '#000000',
  },
}
SCSS
$custom: #5f151a;
$custom-light: #925956;
$custom-dark: #000000;
JSON
{
  "hex": "#5f151a",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 355.946,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32519,
    "c": 0.10576,
    "h": 21.9
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#5F151A
secondary
#3A9690
accent
#E7DC41
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F151A

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

Preview Lab → · Contrast checker → · Palette generator →

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