#5A161D#5A161D

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

Color values

HEX#5A161D
RGBrgb(90, 22, 29)
HSLhsl(354, 61%, 22%)
HSVhsv(354, 76%, 35%)
CMYKcmyk(0%, 75.6%, 67.8%, 64.7%)
CIE-LABlab(19.38, 31.36, 13.47)
CIE-LCHlch(19.38, 34.13, 23.25°)
OKLaboklab(31.72% 0.0932 0.0324)
OKLCHoklch(31.72% 0.099 19.2)
XYZxyz(4.7256, 2.8369, 1.4609)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A161D #165A53
analogous
#5A163F #5A161D #5A3116
triadic
#5A161D #1D5A16 #161D5A
tetradic
#5A161D #3F5A16 #165A53 #31165A
square
#5A161D #3F5A16 #165A53 #31165A
split-complementary
#5A161D #165A31 #163F5A
monochromatic
#190608 #290A0D #5A161D #8B222D #BC2E3D

Accessibility & contrast

On white

13.40
#5A161D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5A161D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A161D
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A161D#FFFFFF#000000##FFFFFF
##5A161D1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261D
Deuteranopia (green-blind)
#3A341B
Tritanopia (blue-blind)
#630419
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a161d;
/* rgb */ color: rgb(90, 22, 29);
/* oklch */ color: oklch(31.7% 0.099 19.2);
Tailwind
colors: {
  custom: {
    50: '#8e5958',
    500: '#5a161d',
    950: '#000000',
  },
}
SCSS
$custom: #5a161d;
$custom-light: #8e5958;
$custom-dark: #000000;
JSON
{
  "hex": "#5a161d",
  "rgb": {
    "r": 90,
    "g": 22,
    "b": 29
  },
  "hsl": {
    "h": 353.824,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31717,
    "c": 0.09865,
    "h": 19.2
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#5A161D
secondary
#3B9188
accent
#E4D344
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A161D

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

Preview Lab → · Contrast checker → · Palette generator →

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