#5D1F0E#5D1F0E

#5D1F0E is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.2% C 0.095 H 36.0°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5D1F0E
RGBrgb(93, 31, 14)
HSLhsl(13, 74%, 21%)
HSVhsv(13, 85%, 36%)
CMYKcmyk(0%, 66.7%, 84.9%, 63.5%)
CIE-LABlab(21.36, 27.37, 25.49)
CIE-LCHlch(21.36, 37.40, 42.96°)
OKLaboklab(33.24% 0.0769 0.0558)
OKLCHoklch(33.24% 0.095 36)
XYZxyz(5.0840, 3.3396, 0.7923)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1F0E #0E4C5D
analogous
#5D0E24 #5D1F0E #5D460E
triadic
#5D1F0E #0E5D1F #1F0E5D
tetradic
#5D1F0E #245D0E #0E4C5D #460E5D
square
#5D1F0E #245D0E #0E4C5D #460E5D
split-complementary
#5D1F0E #0E5D46 #0E245D
monochromatic
#1B0904 #280D06 #5D1F0E #923116 #C7421E

Accessibility & contrast

On white

12.59
#5D1F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5D1F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1F0E
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1F0E#FFFFFF#000000##FFFFFF
##5D1F0E1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0C
Deuteranopia (green-blind)
#40380C
Tritanopia (blue-blind)
#670F1C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1f0e;
/* rgb */ color: rgb(93, 31, 14);
/* oklch */ color: oklch(33.2% 0.095 36.0);
Tailwind
colors: {
  custom: {
    50: '#915e4e',
    500: '#5d1f0e',
    950: '#000000',
  },
}
SCSS
$custom: #5d1f0e;
$custom-light: #915e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1f0e",
  "rgb": {
    "r": 93,
    "g": 31,
    "b": 14
  },
  "hsl": {
    "h": 12.911,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33241,
    "c": 0.09497,
    "h": 36
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#5D1F0E
secondary
#308197
accent
#C9F037
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5D1F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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