#5A1116#5A1116

#5A1116 is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.0% C 0.104 H 22.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#5A1116
RGBrgb(90, 17, 22)
HSLhsl(356, 68%, 21%)
HSVhsv(356, 81%, 35%)
CMYKcmyk(0%, 81.1%, 75.6%, 64.7%)
CIE-LABlab(18.51, 32.96, 17.25)
CIE-LCHlch(18.51, 37.20, 27.62°)
OKLaboklab(31.03% 0.0966 0.0398)
OKLCHoklch(31.03% 0.105 22.4)
XYZxyz(4.5622, 2.6332, 1.0269)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1116 #115A55
analogous
#5A113A #5A1116 #5A3011
triadic
#5A1116 #165A11 #11165A
tetradic
#5A1116 #3A5A11 #115A55 #30115A
square
#5A1116 #3A5A11 #115A55 #30115A
split-complementary
#5A1116 #115A30 #113A5A
monochromatic
#1A0506 #270709 #5A1116 #8D1B23 #C1242F

Accessibility & contrast

On white

13.76
#5A1116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5A1116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1116
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1116#FFFFFF#000000##FFFFFF
##5A11161.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262316
Deuteranopia (green-blind)
#393314
Tritanopia (blue-blind)
#640014
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1116;
/* rgb */ color: rgb(90, 17, 22);
/* oklch */ color: oklch(31.0% 0.104 22.4);
Tailwind
colors: {
  custom: {
    50: '#8f5653',
    500: '#5a1116',
    950: '#000000',
  },
}
SCSS
$custom: #5a1116;
$custom-light: #8f5653;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1116",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 22
  },
  "hsl": {
    "h": 355.89,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31029,
    "c": 0.1045,
    "h": 22.4
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#5A1116
secondary
#34938C
accent
#EBDF3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1116

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

Preview Lab → · Contrast checker → · Palette generator →

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