#5A1414#5A1414

#5A1414 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.102 H 25.3°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#5A1414
RGBrgb(90, 20, 20)
HSLhsl(0, 64%, 22%)
HSVhsv(0, 78%, 35%)
CMYKcmyk(0%, 77.8%, 77.8%, 64.7%)
CIE-LABlab(18.91, 31.66, 19.07)
CIE-LCHlch(18.91, 36.96, 31.06°)
OKLaboklab(31.31% 0.092 0.0434)
OKLCHoklch(31.31% 0.102 25.3)
XYZxyz(4.5934, 2.7252, 0.9458)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1414 #145A5A
analogous
#5A1437 #5A1414 #5A3714
triadic
#5A1414 #145A14 #14145A
tetradic
#5A1414 #375A14 #145A5A #37145A
square
#5A1414 #375A14 #145A5A #37145A
split-complementary
#5A1414 #145A37 #14375A
monochromatic
#190606 #280909 #5A1414 #8C1F1F #BE2A2A

Accessibility & contrast

On white

13.59
#5A1414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5A1414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1414
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1414#FFFFFF#000000##FFFFFF
##5A14141.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282413
Deuteranopia (green-blind)
#3A3312
Tritanopia (blue-blind)
#640015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1414;
/* rgb */ color: rgb(90, 20, 20);
/* oklch */ color: oklch(31.3% 0.102 25.3);
Tailwind
colors: {
  custom: {
    50: '#8f5751',
    500: '#5a1414',
    950: '#000000',
  },
}
SCSS
$custom: #5a1414;
$custom-light: #8f5751;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1414",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 20
  },
  "hsl": {
    "h": 0,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31314,
    "c": 0.10173,
    "h": 25.3
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#5A1414
secondary
#389292
accent
#E7E741
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1414

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

Preview Lab → · Contrast checker → · Palette generator →

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