#5D151F#5D151F

#5D151F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.2% C 0.103 H 17.6°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#5D151F
RGBrgb(93, 21, 31)
HSLhsl(352, 63%, 22%)
HSVhsv(352, 77%, 36%)
CMYKcmyk(0%, 77.4%, 66.7%, 63.5%)
CIE-LABlab(19.90, 33.00, 12.87)
CIE-LCHlch(19.90, 35.42, 21.30°)
OKLaboklab(32.23% 0.0984 0.0311)
OKLCHoklch(32.23% 0.103 17.6)
XYZxyz(5.0302, 2.9631, 1.6031)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D151F #155D53
analogous
#5D1543 #5D151F #5D2F15
triadic
#5D151F #1F5D15 #151F5D
tetradic
#5D151F #435D15 #155D53 #2F155D
square
#5D151F #435D15 #155D53 #2F155D
split-complementary
#5D151F #155D2F #15435D
monochromatic
#190608 #2B0A0E #5D151F #8F2030 #C12C40

Accessibility & contrast

On white

13.19
#5D151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5D151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D151F
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D151F#FFFFFF#000000##FFFFFF
##5D151F1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261F
Deuteranopia (green-blind)
#3B361D
Tritanopia (blue-blind)
#670119
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d151f;
/* rgb */ color: rgb(93, 21, 31);
/* oklch */ color: oklch(32.2% 0.103 17.6);
Tailwind
colors: {
  custom: {
    50: '#90595a',
    500: '#5d151f',
    950: '#000000',
  },
}
SCSS
$custom: #5d151f;
$custom-light: #90595a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d151f",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 351.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32231,
    "c": 0.10322,
    "h": 17.6
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#5D151F
secondary
#399488
accent
#E6CF42
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5D151F

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

Preview Lab → · Contrast checker → · Palette generator →

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