#5D131A#5D131A

#5D131A is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.106 H 20.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#5D131A
RGBrgb(93, 19, 26)
HSLhsl(354, 66%, 22%)
HSVhsv(354, 80%, 36%)
CMYKcmyk(0%, 79.6%, 72%, 63.5%)
CIE-LABlab(19.51, 33.47, 15.85)
CIE-LCHlch(19.51, 37.03, 25.35°)
OKLaboklab(31.91% 0.0988 0.0373)
OKLCHoklch(31.91% 0.106 20.7)
XYZxyz(4.9341, 2.8682, 1.2709)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D131A #135D56
analogous
#5D133F #5D131A #5D3113
triadic
#5D131A #1A5D13 #131A5D
tetradic
#5D131A #3F5D13 #135D56 #31135D
square
#5D131A #3F5D13 #135D56 #31135D
split-complementary
#5D131A #135D31 #133F5D
monochromatic
#190507 #2A090C #5D131A #901D28 #C32836

Accessibility & contrast

On white

13.35
#5D131A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5D131A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D131A
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D131A#FFFFFF#000000##FFFFFF
##5D131A1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251A
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#670016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d131a;
/* rgb */ color: rgb(93, 19, 26);
/* oklch */ color: oklch(31.9% 0.106 20.7);
Tailwind
colors: {
  custom: {
    50: '#915856',
    500: '#5d131a',
    950: '#000000',
  },
}
SCSS
$custom: #5d131a;
$custom-light: #915856;
$custom-dark: #000000;
JSON
{
  "hex": "#5d131a",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 354.324,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31911,
    "c": 0.10556,
    "h": 20.7
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#5D131A
secondary
#37958C
accent
#E9D93F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5D131A

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

Preview Lab → · Contrast checker → · Palette generator →

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