#5D281B#5D281B

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

Color values

HEX#5D281B
RGBrgb(93, 40, 27)
HSLhsl(12, 55%, 24%)
HSVhsv(12, 71%, 36%)
CMYKcmyk(0%, 57%, 71%, 63.5%)
CIE-LABlab(23.42, 23.14, 19.96)
CIE-LCHlch(23.42, 30.56, 40.77°)
OKLaboklab(34.86% 0.0665 0.0466)
OKLCHoklch(34.86% 0.081 35)
XYZxyz(5.4713, 3.9245, 1.5061)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D281B #1B505D
analogous
#5D1B2F #5D281B #5D491B
triadic
#5D281B #1B5D28 #281B5D
tetradic
#5D281B #2F5D1B #1B505D #491B5D
square
#5D281B #2F5D1B #1B505D #491B5D
split-complementary
#5D281B #1B5D49 #1B2F5D
monochromatic
#180A07 #2E140D #5D281B #8C3C29 #BC5137

Accessibility & contrast

On white

11.77
#5D281B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5D281B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D281B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D281B#FFFFFF#000000##FFFFFF
##5D281B1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#433C1A
Tritanopia (blue-blind)
#661E25
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d281b;
/* rgb */ color: rgb(93, 40, 27);
/* oklch */ color: oklch(34.9% 0.081 35.0);
Tailwind
colors: {
  custom: {
    50: '#8f6357',
    500: '#5d281b',
    950: '#000000',
  },
}
SCSS
$custom: #5d281b;
$custom-light: #8f6357;
$custom-dark: #000000;
JSON
{
  "hex": "#5d281b",
  "rgb": {
    "r": 93,
    "g": 40,
    "b": 27
  },
  "hsl": {
    "h": 11.818,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34858,
    "c": 0.08121,
    "h": 35
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

primary
#5D281B
secondary
#418393
accent
#C1DE49
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5D281B

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

Preview Lab → · Contrast checker → · Palette generator →

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