#5D1D2D#5D1D2D

#5D1D2D is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.6% C 0.094 H 8.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#5D1D2D
RGBrgb(93, 29, 45)
HSLhsl(345, 52%, 24%)
HSVhsv(345, 69%, 36%)
CMYKcmyk(0%, 68.8%, 51.6%, 63.5%)
CIE-LABlab(21.56, 30.63, 5.37)
CIE-LCHlch(21.56, 31.09, 9.95°)
OKLaboklab(33.59% 0.0931 0.0139)
OKLCHoklch(33.59% 0.094 8.5)
XYZxyz(5.4276, 3.3960, 2.8518)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1D2D #1D5D4D
analogous
#5D1D4D #5D1D2D #5D2D1D
triadic
#5D1D2D #2D5D1D #1D2D5D
tetradic
#5D1D2D #4D5D1D #1D5D4D #2D1D5D
square
#5D1D2D #4D5D1D #1D5D4D #2D1D5D
split-complementary
#5D1D2D #1D5D2D #1D4D5D
monochromatic
#17070B #2E0E16 #5D1D2D #8C2C44 #BA3A5A

Accessibility & contrast

On white

12.51
#5D1D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5D1D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1D2D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1D2D#FFFFFF#000000##FFFFFF
##5D1D2D1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2D
Deuteranopia (green-blind)
#3C382B
Tritanopia (blue-blind)
#661323
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d1d2d;
/* rgb */ color: rgb(93, 29, 45);
/* oklch */ color: oklch(33.6% 0.094 8.5);
Tailwind
colors: {
  custom: {
    50: '#8f5d65',
    500: '#5d1d2d',
    950: '#000000',
  },
}
SCSS
$custom: #5d1d2d;
$custom-light: #8f5d65;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1d2d",
  "rgb": {
    "r": 93,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 345,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33587,
    "c": 0.09413,
    "h": 8.5
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#5D1D2D
secondary
#44927F
accent
#DCB84C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5D1D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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