#5D131F#5D131F

#5D131F is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.105 H 16.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#5D131F
RGBrgb(93, 19, 31)
HSLhsl(350, 66%, 22%)
HSVhsv(350, 80%, 36%)
CMYKcmyk(0%, 79.6%, 66.7%, 63.5%)
CIE-LABlab(19.61, 33.80, 12.49)
CIE-LCHlch(19.61, 36.03, 20.29°)
OKLaboklab(32.02% 0.101 0.0303)
OKLCHoklch(32.02% 0.105 16.7)
XYZxyz(4.9949, 2.8926, 1.5914)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D131F #135D51
analogous
#5D1344 #5D131F #5D2C13
triadic
#5D131F #1F5D13 #131F5D
tetradic
#5D131F #445D13 #135D51 #2C135D
square
#5D131F #445D13 #135D51 #2C135D
split-complementary
#5D131F #135D2C #13445D
monochromatic
#190508 #2A090E #5D131F #901D30 #C32841

Accessibility & contrast

On white

13.30
#5D131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5D131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D131F
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D131F#FFFFFF#000000##FFFFFF
##5D131F1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27261F
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#670018
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d131f;
/* rgb */ color: rgb(93, 19, 31);
/* oklch */ color: oklch(32.0% 0.105 16.7);
Tailwind
colors: {
  custom: {
    50: '#90585a',
    500: '#5d131f',
    950: '#000000',
  },
}
SCSS
$custom: #5d131f;
$custom-light: #90585a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d131f",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 350.27,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32017,
    "c": 0.10541,
    "h": 16.7
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#5D131F
secondary
#379586
accent
#E9CD3F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5D131F

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

Preview Lab → · Contrast checker → · Palette generator →

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