#5D281F#5D281F

#5D281F is a dark, moderate red. Relative luminance 0.039; OKLCH L 34.9% C 0.080 H 31.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#5D281F
RGBrgb(93, 40, 31)
HSLhsl(9, 50%, 24%)
HSVhsv(9, 67%, 36%)
CMYKcmyk(0%, 57%, 66.7%, 63.5%)
CIE-LABlab(23.49, 23.44, 17.45)
CIE-LCHlch(23.49, 29.22, 36.66°)
OKLaboklab(34.93% 0.0683 0.0415)
OKLCHoklch(34.93% 0.08 31.3)
XYZxyz(5.5208, 3.9443, 1.7667)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D281F #1F545D
analogous
#5D1F35 #5D281F #5D471F
triadic
#5D281F #1F5D28 #281F5D
tetradic
#5D281F #355D1F #1F545D #471F5D
square
#5D281F #355D1F #1F545D #471F5D
split-complementary
#5D281F #1F5D47 #1F355D
monochromatic
#170A08 #2F1410 #5D281F #8B3C2E #B94F3E

Accessibility & contrast

On white

11.74
#5D281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5D281F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D281F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D281F#FFFFFF#000000##FFFFFF
##5D281F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311E
Deuteranopia (green-blind)
#433C1E
Tritanopia (blue-blind)
#661E26
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d281f;
/* rgb */ color: rgb(93, 40, 31);
/* oklch */ color: oklch(34.9% 0.080 31.3);
Tailwind
colors: {
  custom: {
    50: '#8f635a',
    500: '#5d281f',
    950: '#000000',
  },
}
SCSS
$custom: #5d281f;
$custom-light: #8f635a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d281f",
  "rgb": {
    "r": 93,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 8.71,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3493,
    "c": 0.0799,
    "h": 31.3
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#5D281F
secondary
#468792
accent
#C5DA4E
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0504
muted
#7E7A79

Preview Lab

Preview with #5D281F

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

Preview Lab → · Contrast checker → · Palette generator →

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