#5F151D#5F151D

#5F151D is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.106 H 19.6°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#5F151D
RGBrgb(95, 21, 29)
HSLhsl(354, 64%, 23%)
HSVhsv(354, 78%, 37%)
CMYKcmyk(0%, 77.9%, 69.5%, 62.7%)
CIE-LABlab(20.28, 33.56, 14.84)
CIE-LCHlch(20.28, 36.70, 23.85°)
OKLaboklab(32.58% 0.0995 0.0353)
OKLCHoklch(32.58% 0.106 19.6)
XYZxyz(5.2098, 3.0587, 1.4782)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F151D #155F57
analogous
#5F1542 #5F151D #5F3215
triadic
#5F151D #1D5F15 #151D5F
tetradic
#5F151D #425F15 #155F57 #32155F
square
#5F151D #425F15 #155F57 #32155F
split-complementary
#5F151D #155F32 #15425F
monochromatic
#190608 #2D0A0E #5F151D #91202C #C32B3C

Accessibility & contrast

On white

13.03
#5F151D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F151D
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F151D#FFFFFF#000000##FFFFFF
##5F151D1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f151d;
/* rgb */ color: rgb(95, 21, 29);
/* oklch */ color: oklch(32.6% 0.106 19.6);
Tailwind
colors: {
  custom: {
    50: '#925958',
    500: '#5f151d',
    950: '#000000',
  },
}
SCSS
$custom: #5f151d;
$custom-light: #925958;
$custom-dark: #000000;
JSON
{
  "hex": "#5f151d",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 353.514,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32579,
    "c": 0.10556,
    "h": 19.6
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#5F151D
secondary
#3A968C
accent
#E7D541
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5F151D

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

Preview Lab → · Contrast checker → · Palette generator →

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