#5D211F#5D211F

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

Color values

HEX#5D211F
RGBrgb(93, 33, 31)
HSLhsl(2, 50%, 24%)
HSVhsv(2, 67%, 36%)
CMYKcmyk(0%, 64.5%, 66.7%, 63.5%)
CIE-LABlab(22.00, 27.31, 15.57)
CIE-LCHlch(22.00, 31.44, 29.69°)
OKLaboklab(33.8% 0.0804 0.0373)
OKLCHoklch(33.8% 0.089 24.9)
XYZxyz(5.3059, 3.5145, 1.6950)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D211F #1F5B5D
analogous
#5D1F3C #5D211F #5D401F
triadic
#5D211F #1F5D21 #211F5D
tetradic
#5D211F #3C5D1F #1F5B5D #401F5D
square
#5D211F #3C5D1F #1F5B5D #401F5D
split-complementary
#5D211F #1F5D40 #1F3C5D
monochromatic
#170808 #2F1110 #5D211F #8B312E #B9423E

Accessibility & contrast

On white

12.33
#5D211F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D211F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D211F#FFFFFF#000000##FFFFFF
##5D211F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D1E
Deuteranopia (green-blind)
#3F391E
Tritanopia (blue-blind)
#661521
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d211f;
/* rgb */ color: rgb(93, 33, 31);
/* oklch */ color: oklch(33.8% 0.089 24.9);
Tailwind
colors: {
  custom: {
    50: '#905f5a',
    500: '#5d211f',
    950: '#000000',
  },
}
SCSS
$custom: #5d211f;
$custom-light: #905f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d211f",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 1.935,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33803,
    "c": 0.08861,
    "h": 24.9
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#5D211F
secondary
#468F92
accent
#D5DA4E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D211F

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

Preview Lab → · Contrast checker → · Palette generator →

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