#5D221E#5D221E

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

Color values

HEX#5D221E
RGBrgb(93, 34, 30)
HSLhsl(4, 51%, 24%)
HSVhsv(4, 68%, 36%)
CMYKcmyk(0%, 63.4%, 67.7%, 63.5%)
CIE-LABlab(22.18, 26.71, 16.47)
CIE-LCHlch(22.18, 31.38, 31.67°)
OKLaboklab(33.94% 0.0783 0.0392)
OKLCHoklch(33.94% 0.088 26.6)
XYZxyz(5.3211, 3.5656, 1.6361)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D221E #1E595D
analogous
#5D1E3A #5D221E #5D421E
triadic
#5D221E #1E5D22 #221E5D
tetradic
#5D221E #3A5D1E #1E595D #421E5D
square
#5D221E #3A5D1E #1E595D #421E5D
split-complementary
#5D221E #1E5D42 #1E3A5D
monochromatic
#170807 #2F110F #5D221E #8B332D #BA443C

Accessibility & contrast

On white

12.26
#5D221E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D221E
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D221E#FFFFFF#000000##FFFFFF
##5D221E1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d221e;
/* rgb */ color: rgb(93, 34, 30);
/* oklch */ color: oklch(33.9% 0.088 26.6);
Tailwind
colors: {
  custom: {
    50: '#906059',
    500: '#5d221e',
    950: '#000000',
  },
}
SCSS
$custom: #5d221e;
$custom-light: #906059;
$custom-dark: #000000;
JSON
{
  "hex": "#5d221e",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 3.81,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33936,
    "c": 0.08753,
    "h": 26.6
  },
  "luminance": 0.03565
}

Semantic roles & 50–950 ramp

primary
#5D221E
secondary
#458D92
accent
#D2DB4D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D221E

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

Preview Lab → · Contrast checker → · Palette generator →

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