#5A191E#5A191E

#5A191E is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.095 H 20.0°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#5A191E
RGBrgb(90, 25, 30)
HSLhsl(355, 57%, 23%)
HSVhsv(355, 72%, 35%)
CMYKcmyk(0%, 72.2%, 66.7%, 64.7%)
CIE-LABlab(19.90, 30.08, 13.45)
CIE-LCHlch(19.90, 32.94, 24.09°)
OKLaboklab(32.11% 0.0893 0.0325)
OKLCHoklch(32.11% 0.095 20)
XYZxyz(4.7989, 2.9633, 1.5473)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A191E #195A55
analogous
#5A193E #5A191E #5A3519
triadic
#5A191E #1E5A19 #191E5A
tetradic
#5A191E #3E5A19 #195A55 #35195A
square
#5A191E #3E5A19 #195A55 #35195A
split-complementary
#5A191E #195A35 #193E5A
monochromatic
#180708 #2A0C0E #5A191E #8A262E #BA343E

Accessibility & contrast

On white

13.19
#5A191E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A191E
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A191E#FFFFFF#000000##FFFFFF
##5A191E1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271E
Deuteranopia (green-blind)
#3A351C
Tritanopia (blue-blind)
#630A1B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a191e;
/* rgb */ color: rgb(90, 25, 30);
/* oklch */ color: oklch(32.1% 0.095 20.0);
Tailwind
colors: {
  custom: {
    50: '#8e5a59',
    500: '#5a191e',
    950: '#000000',
  },
}
SCSS
$custom: #5a191e;
$custom-light: #8e5a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5a191e",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 30
  },
  "hsl": {
    "h": 355.385,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3211,
    "c": 0.095,
    "h": 20
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#5A191E
secondary
#3E908A
accent
#E0D448
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A191E

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

Preview Lab → · Contrast checker → · Palette generator →

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