#5D221F#5D221F

#5D221F is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.0% C 0.087 H 25.7°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#5D221F
RGBrgb(93, 34, 31)
HSLhsl(3, 50%, 24%)
HSVhsv(3, 67%, 36%)
CMYKcmyk(0%, 63.4%, 66.7%, 63.5%)
CIE-LABlab(22.20, 26.78, 15.83)
CIE-LCHlch(22.20, 31.11, 30.59°)
OKLaboklab(33.96% 0.0787 0.0379)
OKLCHoklch(33.96% 0.087 25.7)
XYZxyz(5.3340, 3.5708, 1.7044)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D221F #1F5A5D
analogous
#5D1F3B #5D221F #5D411F
triadic
#5D221F #1F5D22 #221F5D
tetradic
#5D221F #3B5D1F #1F5A5D #411F5D
square
#5D221F #3B5D1F #1F5A5D #411F5D
split-complementary
#5D221F #1F5D41 #1F3B5D
monochromatic
#170808 #2F1110 #5D221F #8B332E #B9443E

Accessibility & contrast

On white

12.25
#5D221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D221F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D221F#FFFFFF#000000##FFFFFF
##5D221F1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1E
Deuteranopia (green-blind)
#403A1E
Tritanopia (blue-blind)
#661722
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d221f;
/* rgb */ color: rgb(93, 34, 31);
/* oklch */ color: oklch(34.0% 0.087 25.7);
Tailwind
colors: {
  custom: {
    50: '#8f605a',
    500: '#5d221f',
    950: '#000000',
  },
}
SCSS
$custom: #5d221f;
$custom-light: #8f605a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d221f",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 2.903,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33956,
    "c": 0.08735,
    "h": 25.7
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#5D221F
secondary
#468E92
accent
#D3DA4E
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D221F

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

Preview Lab → · Contrast checker → · Palette generator →

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