#5D221D#5D221D

#5D221D is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.9% C 0.088 H 27.5°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#5D221D
RGBrgb(93, 34, 29)
HSLhsl(5, 52%, 24%)
HSVhsv(5, 69%, 36%)
CMYKcmyk(0%, 63.4%, 68.8%, 63.5%)
CIE-LABlab(22.16, 26.63, 17.12)
CIE-LCHlch(22.16, 31.66, 32.73°)
OKLaboklab(33.92% 0.0778 0.0406)
OKLCHoklch(33.92% 0.088 27.5)
XYZxyz(5.3085, 3.5606, 1.5699)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D221D #1D585D
analogous
#5D1D38 #5D221D #5D421D
triadic
#5D221D #1D5D22 #221D5D
tetradic
#5D221D #385D1D #1D585D #421D5D
square
#5D221D #385D1D #1D585D #421D5D
split-complementary
#5D221D #1D5D42 #1D385D
monochromatic
#170907 #2E110E #5D221D #8C332C #BA443A

Accessibility & contrast

On white

12.27
#5D221D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5D221D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D221D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D221D#FFFFFF#000000##FFFFFF
##5D221D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1C
Deuteranopia (green-blind)
#403A1C
Tritanopia (blue-blind)
#661621
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d221d;
/* rgb */ color: rgb(93, 34, 29);
/* oklch */ color: oklch(33.9% 0.088 27.5);
Tailwind
colors: {
  custom: {
    50: '#906059',
    500: '#5d221d',
    950: '#000000',
  },
}
SCSS
$custom: #5d221d;
$custom-light: #906059;
$custom-dark: #000000;
JSON
{
  "hex": "#5d221d",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 29
  },
  "hsl": {
    "h": 4.688,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33916,
    "c": 0.08774,
    "h": 27.5
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#5D221D
secondary
#448C92
accent
#D1DC4C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D221D

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

Preview Lab → · Contrast checker → · Palette generator →

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