#5D313A#5D313A

#5D313A is a dark, moderate red. Relative luminance 0.048; OKLCH L 37.2% C 0.065 H 7.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#5D313A
RGBrgb(93, 49, 58)
HSLhsl(348, 31%, 28%)
HSVhsv(348, 47%, 36%)
CMYKcmyk(0%, 47.3%, 37.6%, 63.5%)
CIE-LABlab(26.24, 21.08, 3.19)
CIE-LCHlch(26.24, 21.32, 8.59°)
OKLaboklab(37.23% 0.064 0.0085)
OKLCHoklch(37.23% 0.065 7.6)
XYZxyz(6.3765, 4.8298, 4.5986)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D313A #315D54
analogous
#5D3150 #5D313A #5D3E31
triadic
#5D313A #3A5D31 #313A5D
tetradic
#5D313A #505D31 #315D54 #3E315D
square
#5D313A #505D31 #315D54 #3E315D
split-complementary
#5D313A #315D3E #31505D
monochromatic
#140B0C #351C21 #5D313A #854653 #AA5E6E

Accessibility & contrast

On white

10.68
#5D313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5D313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D313A
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D313A#FFFFFF#000000##FFFFFF
##5D313A1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39393A
Deuteranopia (green-blind)
#444139
Tritanopia (blue-blind)
#642D34
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5d313a;
/* rgb */ color: rgb(93, 49, 58);
/* oklch */ color: oklch(37.2% 0.065 7.6);
Tailwind
colors: {
  custom: {
    50: '#8d6a70',
    500: '#5d313a',
    950: '#000000',
  },
}
SCSS
$custom: #5d313a;
$custom-light: #8d6a70;
$custom-dark: #000000;
JSON
{
  "hex": "#5d313a",
  "rgb": {
    "r": 93,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 347.727,
    "s": 30.986,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37234,
    "c": 0.06452,
    "h": 7.6
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#5D313A
secondary
#5C8E84
accent
#C7B261
background
#F8F6F6
surface
#F0EBEC
border
#CBC6C7
text
#0C0607
muted
#7D7A7A

Preview Lab

Preview with #5D313A

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

Preview Lab → · Contrast checker → · Palette generator →

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