#5D271A#5D271A

#5D271A is a dark, moderate red. Relative luminance 0.039; OKLCH L 34.7% C 0.083 H 34.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#5D271A
RGBrgb(93, 39, 26)
HSLhsl(12, 56%, 23%)
HSVhsv(12, 72%, 36%)
CMYKcmyk(0%, 58.1%, 72%, 63.5%)
CIE-LABlab(23.18, 23.65, 20.31)
CIE-LCHlch(23.18, 31.17, 40.66°)
OKLaboklab(34.67% 0.0679 0.0472)
OKLCHoklch(34.67% 0.083 34.8)
XYZxyz(5.4267, 3.8535, 1.4351)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D271A #1A505D
analogous
#5D1A2E #5D271A #5D481A
triadic
#5D271A #1A5D27 #271A5D
tetradic
#5D271A #2E5D1A #1A505D #481A5D
square
#5D271A #2E5D1A #1A505D #481A5D
split-complementary
#5D271A #1A5D48 #1A2E5D
monochromatic
#180A07 #2D130D #5D271A #8D3B27 #BD4F35

Accessibility & contrast

On white

11.86
#5D271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5D271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D271A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D271A#FFFFFF#000000##FFFFFF
##5D271A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#433C19
Tritanopia (blue-blind)
#661C24
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d271a;
/* rgb */ color: rgb(93, 39, 26);
/* oklch */ color: oklch(34.7% 0.083 34.8);
Tailwind
colors: {
  custom: {
    50: '#906357',
    500: '#5d271a',
    950: '#000000',
  },
}
SCSS
$custom: #5d271a;
$custom-light: #906357;
$custom-dark: #000000;
JSON
{
  "hex": "#5d271a",
  "rgb": {
    "r": 93,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 11.642,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34672,
    "c": 0.08266,
    "h": 34.8
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#5D271A
secondary
#408393
accent
#C2E048
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D271A

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

Preview Lab → · Contrast checker → · Palette generator →

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