#5D211E#5D211E

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

Color values

HEX#5D211E
RGBrgb(93, 33, 30)
HSLhsl(3, 51%, 24%)
HSVhsv(3, 68%, 36%)
CMYKcmyk(0%, 64.5%, 67.7%, 63.5%)
CIE-LABlab(21.98, 27.24, 16.22)
CIE-LCHlch(21.98, 31.70, 30.77°)
OKLaboklab(33.78% 0.0799 0.0387)
OKLCHoklch(33.78% 0.089 25.8)
XYZxyz(5.2929, 3.5093, 1.6267)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D211E #1E5A5D
analogous
#5D1E3B #5D211E #5D411E
triadic
#5D211E #1E5D21 #211E5D
tetradic
#5D211E #3B5D1E #1E5A5D #411E5D
square
#5D211E #3B5D1E #1E5A5D #411E5D
split-complementary
#5D211E #1E5D41 #1E3B5D
monochromatic
#170807 #2F110F #5D211E #8B312D #BA423C

Accessibility & contrast

On white

12.34
#5D211E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D211E
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D211E#FFFFFF#000000##FFFFFF
##5D211E1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d211e;
/* rgb */ color: rgb(93, 33, 30);
/* oklch */ color: oklch(33.8% 0.089 25.8);
Tailwind
colors: {
  custom: {
    50: '#905f59',
    500: '#5d211e',
    950: '#000000',
  },
}
SCSS
$custom: #5d211e;
$custom-light: #905f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d211e",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 30
  },
  "hsl": {
    "h": 2.857,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33783,
    "c": 0.08879,
    "h": 25.8
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#5D211E
secondary
#458E92
accent
#D4DB4D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D211E

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

Preview Lab → · Contrast checker → · Palette generator →

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