#5A191A#5A191A

#5A191A is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.095 H 23.5°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#5A191A
RGBrgb(90, 25, 26)
HSLhsl(359, 57%, 23%)
HSVhsv(359, 72%, 35%)
CMYKcmyk(0%, 72.2%, 71.1%, 64.7%)
CIE-LABlab(19.82, 29.79, 16.10)
CIE-LCHlch(19.82, 33.86, 28.39°)
OKLaboklab(32.03% 0.0875 0.038)
OKLCHoklch(32.03% 0.095 23.5)
XYZxyz(4.7510, 2.9442, 1.2952)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A191A #195A59
analogous
#5A193A #5A191A #5A3919
triadic
#5A191A #1A5A19 #191A5A
tetradic
#5A191A #3A5A19 #195A59 #39195A
square
#5A191A #3A5A19 #195A59 #39195A
split-complementary
#5A191A #195A39 #193A5A
monochromatic
#180707 #2A0C0C #5A191A #8A2628 #BA3436

Accessibility & contrast

On white

13.22
#5A191A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5A191A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A191A
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A191A#FFFFFF#000000##FFFFFF
##5A191A1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2719
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#63081A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a191a;
/* rgb */ color: rgb(90, 25, 26);
/* oklch */ color: oklch(32.0% 0.095 23.5);
Tailwind
colors: {
  custom: {
    50: '#8e5a56',
    500: '#5a191a',
    950: '#000000',
  },
}
SCSS
$custom: #5a191a;
$custom-light: #8e5a56;
$custom-dark: #000000;
JSON
{
  "hex": "#5a191a",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 26
  },
  "hsl": {
    "h": 359.077,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32027,
    "c": 0.09539,
    "h": 23.5
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#5A191A
secondary
#3E908F
accent
#E0DD48
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A191A

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

Preview Lab → · Contrast checker → · Palette generator →

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