#5D201F#5D201F

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

Color values

HEX#5D201F
RGBrgb(93, 32, 31)
HSLhsl(1, 50%, 24%)
HSVhsv(1, 67%, 36%)
CMYKcmyk(0%, 65.6%, 66.7%, 63.5%)
CIE-LABlab(21.80, 27.84, 15.32)
CIE-LCHlch(21.80, 31.78, 28.83°)
OKLaboklab(33.65% 0.082 0.0367)
OKLCHoklch(33.65% 0.09 24.1)
XYZxyz(5.2785, 3.4598, 1.6859)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D201F #1F5C5D
analogous
#5D1F3D #5D201F #5D3F1F
triadic
#5D201F #1F5D20 #201F5D
tetradic
#5D201F #3D5D1F #1F5C5D #3F1F5D
square
#5D201F #3D5D1F #1F5C5D #3F1F5D
split-complementary
#5D201F #1F5D3F #1F3D5D
monochromatic
#170808 #2F1010 #5D201F #8B302E #B9403E

Accessibility & contrast

On white

12.41
#5D201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5D201F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D201F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D201F#FFFFFF#000000##FFFFFF
##5D201F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1E
Deuteranopia (green-blind)
#3F391D
Tritanopia (blue-blind)
#661420
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d201f;
/* rgb */ color: rgb(93, 32, 31);
/* oklch */ color: oklch(33.7% 0.090 24.1);
Tailwind
colors: {
  custom: {
    50: '#905e5a',
    500: '#5d201f',
    950: '#000000',
  },
}
SCSS
$custom: #5d201f;
$custom-light: #905e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d201f",
  "rgb": {
    "r": 93,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 0.968,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33654,
    "c": 0.08987,
    "h": 24.1
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#5D201F
secondary
#469092
accent
#D7DA4E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D201F

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

Preview Lab → · Contrast checker → · Palette generator →

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