#5A191F#5A191F

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

Color values

HEX#5A191F
RGBrgb(90, 25, 31)
HSLhsl(354, 57%, 23%)
HSVhsv(354, 72%, 35%)
CMYKcmyk(0%, 72.2%, 65.6%, 64.7%)
CIE-LABlab(19.92, 30.15, 12.78)
CIE-LCHlch(19.92, 32.75, 22.97°)
OKLaboklab(32.13% 0.0897 0.031)
OKLCHoklch(32.13% 0.095 19.1)
XYZxyz(4.8119, 2.9685, 1.6157)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A191F #195A54
analogous
#5A193F #5A191F #5A3419
triadic
#5A191F #1F5A19 #191F5A
tetradic
#5A191F #3F5A19 #195A54 #34195A
square
#5A191F #3F5A19 #195A54 #34195A
split-complementary
#5A191F #195A34 #193F5A
monochromatic
#180708 #2A0C0F #5A191F #8A262F #BA3440

Accessibility & contrast

On white

13.18
#5A191F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A191F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A191F#FFFFFF#000000##FFFFFF
##5A191F1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271F
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#630A1C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a191f;
/* rgb */ color: rgb(90, 25, 31);
/* oklch */ color: oklch(32.1% 0.095 19.1);
Tailwind
colors: {
  custom: {
    50: '#8e5a5a',
    500: '#5a191f',
    950: '#000000',
  },
}
SCSS
$custom: #5a191f;
$custom-light: #8e5a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a191f",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 31
  },
  "hsl": {
    "h": 354.462,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32133,
    "c": 0.09495,
    "h": 19.1
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#5A191F
secondary
#3E9089
accent
#E0D248
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A191F

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

Preview Lab → · Contrast checker → · Palette generator →

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