#5A1316#5A1316

#5A1316 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.102 H 23.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#5A1316
RGBrgb(90, 19, 22)
HSLhsl(357, 65%, 21%)
HSVhsv(357, 79%, 35%)
CMYKcmyk(0%, 78.9%, 75.6%, 64.7%)
CIE-LABlab(18.79, 32.18, 17.58)
CIE-LCHlch(18.79, 36.67, 28.65°)
OKLaboklab(31.24% 0.0941 0.0406)
OKLCHoklch(31.24% 0.103 23.3)
XYZxyz(4.5947, 2.6980, 1.0377)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1316 #135A57
analogous
#5A133A #5A1316 #5A3413
triadic
#5A1316 #165A13 #13165A
tetradic
#5A1316 #3A5A13 #135A57 #34135A
square
#5A1316 #3A5A13 #135A57 #34135A
split-complementary
#5A1316 #135A34 #133A5A
monochromatic
#190506 #27080A #5A1316 #8D1E22 #BF282F

Accessibility & contrast

On white

13.64
#5A1316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5A1316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1316
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1316#FFFFFF#000000##FFFFFF
##5A13161.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282415
Deuteranopia (green-blind)
#393314
Tritanopia (blue-blind)
#640015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1316;
/* rgb */ color: rgb(90, 19, 22);
/* oklch */ color: oklch(31.2% 0.102 23.3);
Tailwind
colors: {
  custom: {
    50: '#8f5753',
    500: '#5a1316',
    950: '#000000',
  },
}
SCSS
$custom: #5a1316;
$custom-light: #8f5753;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1316",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 22
  },
  "hsl": {
    "h": 357.465,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31238,
    "c": 0.1025,
    "h": 23.3
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#5A1316
secondary
#37928E
accent
#E8E140
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #5A1316

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

Preview Lab → · Contrast checker → · Palette generator →

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