#5D1B0F#5D1B0F

#5D1B0F is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.099 H 32.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#5D1B0F
RGBrgb(93, 27, 15)
HSLhsl(9, 72%, 21%)
HSVhsv(9, 84%, 36%)
CMYKcmyk(0%, 71%, 83.9%, 63.5%)
CIE-LABlab(20.62, 29.41, 24.16)
CIE-LCHlch(20.62, 38.07, 39.40°)
OKLaboklab(32.69% 0.0834 0.0532)
OKLCHoklch(32.69% 0.099 32.5)
XYZxyz(4.9929, 3.1462, 0.7962)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1B0F #0F515D
analogous
#5D0F2A #5D1B0F #5D420F
triadic
#5D1B0F #0F5D1B #1B0F5D
tetradic
#5D1B0F #2A5D0F #0F515D #420F5D
square
#5D1B0F #2A5D0F #0F515D #420F5D
split-complementary
#5D1B0F #0F5D42 #0F2A5D
monochromatic
#1A0804 #280C06 #5D1B0F #922A17 #C63A20

Accessibility & contrast

On white

12.89
#5D1B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5D1B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1B0F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1B0F#FFFFFF#000000##FFFFFF
##5D1B0F1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280D
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#670819
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1b0f;
/* rgb */ color: rgb(93, 27, 15);
/* oklch */ color: oklch(32.7% 0.099 32.5);
Tailwind
colors: {
  custom: {
    50: '#915b4e',
    500: '#5d1b0f',
    950: '#000000',
  },
}
SCSS
$custom: #5d1b0f;
$custom-light: #915b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1b0f",
  "rgb": {
    "r": 93,
    "g": 27,
    "b": 15
  },
  "hsl": {
    "h": 9.231,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32691,
    "c": 0.09891,
    "h": 32.5
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#5D1B0F
secondary
#318796
accent
#D3EF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5D1B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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