#5D220F#5D220F

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

Color values

HEX#5D220F
RGBrgb(93, 34, 15)
HSLhsl(15, 72%, 21%)
HSVhsv(15, 84%, 36%)
CMYKcmyk(0%, 63.4%, 83.9%, 63.5%)
CIE-LABlab(21.97, 25.83, 25.63)
CIE-LCHlch(21.97, 36.39, 44.77°)
OKLaboklab(33.71% 0.0723 0.0562)
OKLCHoklch(33.71% 0.092 37.8)
XYZxyz(5.1730, 3.5064, 0.8563)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D220F #0F4A5D
analogous
#5D0F23 #5D220F #5D490F
triadic
#5D220F #0F5D22 #220F5D
tetradic
#5D220F #235D0F #0F4A5D #490F5D
square
#5D220F #235D0F #0F4A5D #490F5D
split-complementary
#5D220F #0F5D49 #0F235D
monochromatic
#1A0A04 #280F06 #5D220F #923517 #C64920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D220F#FFFFFF#000000##FFFFFF
##5D220F1.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)
#332C0C
Deuteranopia (green-blind)
#413A0D
Tritanopia (blue-blind)
#67141E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d220f;
/* rgb */ color: rgb(93, 34, 15);
/* oklch */ color: oklch(33.7% 0.092 37.8);
Tailwind
colors: {
  custom: {
    50: '#915f4e',
    500: '#5d220f',
    950: '#000000',
  },
}
SCSS
$custom: #5d220f;
$custom-light: #915f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d220f",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 15
  },
  "hsl": {
    "h": 14.615,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33707,
    "c": 0.09158,
    "h": 37.8
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#5D220F
secondary
#317E96
accent
#C3EF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5D220F

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

Preview Lab → · Contrast checker → · Palette generator →

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