#5A1419#5A1419

#5A1419 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.101 H 21.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#5A1419
RGBrgb(90, 20, 25)
HSLhsl(356, 64%, 22%)
HSVhsv(356, 78%, 35%)
CMYKcmyk(0%, 77.8%, 72.2%, 64.7%)
CIE-LABlab(18.99, 31.95, 15.76)
CIE-LCHlch(18.99, 35.62, 26.26°)
OKLaboklab(31.4% 0.0941 0.0371)
OKLCHoklch(31.4% 0.101 21.5)
XYZxyz(4.6426, 2.7448, 1.2049)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1419 #145A55
analogous
#5A143C #5A1419 #5A3214
triadic
#5A1419 #195A14 #14195A
tetradic
#5A1419 #3C5A14 #145A55 #32145A
square
#5A1419 #3C5A14 #145A55 #32145A
split-complementary
#5A1419 #145A32 #143C5A
monochromatic
#190607 #28090B #5A1419 #8C1F27 #BE2A35

Accessibility & contrast

On white

13.56
#5A1419 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5A1419 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1419
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1419#FFFFFF#000000##FFFFFF
##5A14191.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282519
Deuteranopia (green-blind)
#393417
Tritanopia (blue-blind)
#630016
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1419;
/* rgb */ color: rgb(90, 20, 25);
/* oklch */ color: oklch(31.4% 0.101 21.5);
Tailwind
colors: {
  custom: {
    50: '#8e5855',
    500: '#5a1419',
    950: '#000000',
  },
}
SCSS
$custom: #5a1419;
$custom-light: #8e5855;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1419",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 25
  },
  "hsl": {
    "h": 355.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31404,
    "c": 0.10114,
    "h": 21.5
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#5A1419
secondary
#38928B
accent
#E7DB41
background
#F9F5F4
surface
#F2E9E8
border
#CCC5C4
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A1419

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

Preview Lab → · Contrast checker → · Palette generator →

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