#5D211A#5D211A

#5D211A is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.7% C 0.090 H 29.3°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#5D211A
RGBrgb(93, 33, 26)
HSLhsl(6, 56%, 23%)
HSVhsv(6, 72%, 36%)
CMYKcmyk(0%, 64.5%, 72%, 63.5%)
CIE-LABlab(21.91, 26.96, 18.79)
CIE-LCHlch(21.91, 32.86, 34.88°)
OKLaboklab(33.71% 0.0782 0.0438)
OKLCHoklch(33.71% 0.09 29.3)
XYZxyz(5.2450, 3.4901, 1.3746)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D211A #1A565D
analogous
#5D1A34 #5D211A #5D421A
triadic
#5D211A #1A5D21 #211A5D
tetradic
#5D211A #345D1A #1A565D #421A5D
square
#5D211A #345D1A #1A565D #421A5D
split-complementary
#5D211A #1A5D42 #1A345D
monochromatic
#180807 #2D100D #5D211A #8D3227 #BD4335

Accessibility & contrast

On white

12.37
#5D211A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5D211A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D211A
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D211A#FFFFFF#000000##FFFFFF
##5D211A1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C19
Deuteranopia (green-blind)
#403918
Tritanopia (blue-blind)
#671420
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d211a;
/* rgb */ color: rgb(93, 33, 26);
/* oklch */ color: oklch(33.7% 0.090 29.3);
Tailwind
colors: {
  custom: {
    50: '#905f56',
    500: '#5d211a',
    950: '#000000',
  },
}
SCSS
$custom: #5d211a;
$custom-light: #905f56;
$custom-dark: #000000;
JSON
{
  "hex": "#5d211a",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 26
  },
  "hsl": {
    "h": 6.269,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33709,
    "c": 0.08963,
    "h": 29.3
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#5D211A
secondary
#408A93
accent
#D0E048
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D211A

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

Preview Lab → · Contrast checker → · Palette generator →

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