#5D211D#5D211D

#5D211D is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.8% C 0.089 H 26.7°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#5D211D
RGBrgb(93, 33, 29)
HSLhsl(4, 52%, 24%)
HSVhsv(4, 69%, 36%)
CMYKcmyk(0%, 64.5%, 68.8%, 63.5%)
CIE-LABlab(21.96, 27.16, 16.87)
CIE-LCHlch(21.96, 31.98, 31.84°)
OKLaboklab(33.76% 0.0795 0.04)
OKLCHoklch(33.76% 0.089 26.7)
XYZxyz(5.2803, 3.5043, 1.5605)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D211D #1D595D
analogous
#5D1D39 #5D211D #5D411D
triadic
#5D211D #1D5D21 #211D5D
tetradic
#5D211D #395D1D #1D595D #411D5D
square
#5D211D #395D1D #1D595D #411D5D
split-complementary
#5D211D #1D5D41 #1D395D
monochromatic
#170807 #2E100E #5D211D #8C322C #BA423A

Accessibility & contrast

On white

12.35
#5D211D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D211D
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D211D#FFFFFF#000000##FFFFFF
##5D211D1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C1C
Deuteranopia (green-blind)
#40391B
Tritanopia (blue-blind)
#661520
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d211d;
/* rgb */ color: rgb(93, 33, 29);
/* oklch */ color: oklch(33.8% 0.089 26.7);
Tailwind
colors: {
  custom: {
    50: '#905f59',
    500: '#5d211d',
    950: '#000000',
  },
}
SCSS
$custom: #5d211d;
$custom-light: #905f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d211d",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 29
  },
  "hsl": {
    "h": 3.75,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33764,
    "c": 0.08898,
    "h": 26.7
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#5D211D
secondary
#448D92
accent
#D3DC4C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D211D

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

Preview Lab → · Contrast checker → · Palette generator →

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