#5D1A0F#5D1A0F

#5D1A0F is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.100 H 31.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#5D1A0F
RGBrgb(93, 26, 15)
HSLhsl(8, 72%, 21%)
HSVhsv(8, 84%, 36%)
CMYKcmyk(0%, 72%, 83.9%, 63.5%)
CIE-LABlab(20.44, 29.89, 23.97)
CIE-LCHlch(20.44, 38.31, 38.73°)
OKLaboklab(32.56% 0.0849 0.0528)
OKLCHoklch(32.56% 0.1 31.9)
XYZxyz(4.9704, 3.1012, 0.7887)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1A0F #0F525D
analogous
#5D0F2B #5D1A0F #5D410F
triadic
#5D1A0F #0F5D1A #1A0F5D
tetradic
#5D1A0F #2B5D0F #0F525D #410F5D
square
#5D1A0F #2B5D0F #0F525D #410F5D
split-complementary
#5D1A0F #0F5D41 #0F2B5D
monochromatic
#1A0704 #280B06 #5D1A0F #922917 #C63720

Accessibility & contrast

On white

12.96
#5D1A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5D1A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1A0F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1A0F#FFFFFF#000000##FFFFFF
##5D1A0F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280D
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#670618
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1a0f;
/* rgb */ color: rgb(93, 26, 15);
/* oklch */ color: oklch(32.6% 0.100 31.9);
Tailwind
colors: {
  custom: {
    50: '#915b4e',
    500: '#5d1a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5d1a0f;
$custom-light: #915b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1a0f",
  "rgb": {
    "r": 93,
    "g": 26,
    "b": 15
  },
  "hsl": {
    "h": 8.462,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32559,
    "c": 0.09996,
    "h": 31.9
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#5D1A0F
secondary
#318896
accent
#D5EF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5D1A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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