#5D1213#5D1213

#5D1213 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.7% C 0.107 H 25.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#5D1213
RGBrgb(93, 18, 19)
HSLhsl(359, 68%, 22%)
HSVhsv(359, 81%, 36%)
CMYKcmyk(0%, 80.6%, 79.6%, 63.5%)
CIE-LABlab(19.26, 33.47, 20.29)
CIE-LCHlch(19.26, 39.14, 31.22°)
OKLaboklab(31.69% 0.0971 0.0457)
OKLCHoklch(31.69% 0.107 25.2)
XYZxyz(4.8486, 2.8075, 0.9026)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1213 #125D5C
analogous
#5D1239 #5D1213 #5D3712
triadic
#5D1213 #135D12 #12135D
tetradic
#5D1213 #395D12 #125D5C #37125D
square
#5D1213 #395D12 #125D5C #37125D
split-complementary
#5D1213 #125D37 #12395D
monochromatic
#1A0505 #2A0809 #5D1213 #901C1D #C42628

Accessibility & contrast

On white

13.45
#5D1213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5D1213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1213
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1213#FFFFFF#000000##FFFFFF
##5D12131.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292412
Deuteranopia (green-blind)
#3B3510
Tritanopia (blue-blind)
#670013
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d1213;
/* rgb */ color: rgb(93, 18, 19);
/* oklch */ color: oklch(31.7% 0.107 25.2);
Tailwind
colors: {
  custom: {
    50: '#925750',
    500: '#5d1213',
    950: '#000000',
  },
}
SCSS
$custom: #5d1213;
$custom-light: #925750;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1213",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 19
  },
  "hsl": {
    "h": 359.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31686,
    "c": 0.10726,
    "h": 25.2
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#5D1213
secondary
#359594
accent
#EAE83D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5D1213

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

Preview Lab → · Contrast checker → · Palette generator →

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