#5A191B#5A191B

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

Color values

HEX#5A191B
RGBrgb(90, 25, 27)
HSLhsl(358, 57%, 23%)
HSVhsv(358, 72%, 35%)
CMYKcmyk(0%, 72.2%, 70%, 64.7%)
CIE-LABlab(19.84, 29.86, 15.44)
CIE-LCHlch(19.84, 33.62, 27.34°)
OKLaboklab(32.05% 0.088 0.0366)
OKLCHoklch(32.05% 0.095 22.6)
XYZxyz(4.7624, 2.9487, 1.3551)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A191B #195A58
analogous
#5A193B #5A191B #5A3819
triadic
#5A191B #1B5A19 #191B5A
tetradic
#5A191B #3B5A19 #195A58 #38195A
square
#5A191B #3B5A19 #195A58 #38195A
split-complementary
#5A191B #195A38 #193B5A
monochromatic
#180707 #2A0C0D #5A191B #8A2629 #BA3438

Accessibility & contrast

On white

13.21
#5A191B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A191B
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A191B#FFFFFF#000000##FFFFFF
##5A191B1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271B
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#63091A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a191b;
/* rgb */ color: rgb(90, 25, 27);
/* oklch */ color: oklch(32.0% 0.095 22.6);
Tailwind
colors: {
  custom: {
    50: '#8e5a57',
    500: '#5a191b',
    950: '#000000',
  },
}
SCSS
$custom: #5a191b;
$custom-light: #8e5a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5a191b",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 27
  },
  "hsl": {
    "h": 358.154,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32047,
    "c": 0.09527,
    "h": 22.6
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#5A191B
secondary
#3E908E
accent
#E0DB48
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A191B

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

Preview Lab → · Contrast checker → · Palette generator →

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