#5D1820#5D1820

#5D1820 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.100 H 18.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#5D1820
RGBrgb(93, 24, 32)
HSLhsl(353, 59%, 23%)
HSVhsv(353, 74%, 36%)
CMYKcmyk(0%, 74.2%, 65.6%, 63.5%)
CIE-LABlab(20.38, 31.79, 12.81)
CIE-LCHlch(20.38, 34.28, 21.95°)
OKLaboklab(32.6% 0.0948 0.0311)
OKLCHoklch(32.6% 0.1 18.2)
XYZxyz(5.1021, 3.0854, 1.6931)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1820 #185D55
analogous
#5D1842 #5D1820 #5D3218
triadic
#5D1820 #205D18 #18205D
tetradic
#5D1820 #425D18 #185D55 #32185D
square
#5D1820 #425D18 #185D55 #32185D
split-complementary
#5D1820 #185D32 #18425D
monochromatic
#180608 #2C0B0F #5D1820 #8E2531 #BE3141

Accessibility & contrast

On white

12.99
#5D1820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5D1820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1820
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1820#FFFFFF#000000##FFFFFF
##5D18201.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2820
Deuteranopia (green-blind)
#3C361E
Tritanopia (blue-blind)
#66071B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1820;
/* rgb */ color: rgb(93, 24, 32);
/* oklch */ color: oklch(32.6% 0.100 18.2);
Tailwind
colors: {
  custom: {
    50: '#905a5b',
    500: '#5d1820',
    950: '#000000',
  },
}
SCSS
$custom: #5d1820;
$custom-light: #905a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1820",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 32
  },
  "hsl": {
    "h": 353.043,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.326,
    "c": 0.09973,
    "h": 18.2
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#5D1820
secondary
#3D938A
accent
#E2D046
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0404
muted
#7E7979

Preview Lab

Preview with #5D1820

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

Preview Lab → · Contrast checker → · Palette generator →

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