#5A191C#5A191C

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

Color values

HEX#5A191C
RGBrgb(90, 25, 28)
HSLhsl(357, 57%, 23%)
HSVhsv(357, 72%, 35%)
CMYKcmyk(0%, 72.2%, 68.9%, 64.7%)
CIE-LABlab(19.86, 29.93, 14.78)
CIE-LCHlch(19.86, 33.38, 26.28°)
OKLaboklab(32.07% 0.0884 0.0353)
OKLCHoklch(32.07% 0.095 21.7)
XYZxyz(4.7742, 2.9534, 1.4171)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A191C #195A57
analogous
#5A193C #5A191C #5A3719
triadic
#5A191C #1C5A19 #191C5A
tetradic
#5A191C #3C5A19 #195A57 #37195A
square
#5A191C #3C5A19 #195A57 #37195A
split-complementary
#5A191C #195A37 #193C5A
monochromatic
#180707 #2A0C0D #5A191C #8A262B #BA343A

Accessibility & contrast

On white

13.20
#5A191C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A191C
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A191C#FFFFFF#000000##FFFFFF
##5A191C1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271C
Deuteranopia (green-blind)
#3B351A
Tritanopia (blue-blind)
#63091B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a191c;
/* rgb */ color: rgb(90, 25, 28);
/* oklch */ color: oklch(32.1% 0.095 21.7);
Tailwind
colors: {
  custom: {
    50: '#8e5a58',
    500: '#5a191c',
    950: '#000000',
  },
}
SCSS
$custom: #5a191c;
$custom-light: #8e5a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5a191c",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 28
  },
  "hsl": {
    "h": 357.231,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32067,
    "c": 0.09516,
    "h": 21.7
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#5A191C
secondary
#3E908D
accent
#E0D948
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A191C

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

Preview Lab → · Contrast checker → · Palette generator →

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