#5A141A#5A141A

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

Color values

HEX#5A141A
RGBrgb(90, 20, 26)
HSLhsl(355, 64%, 22%)
HSVhsv(355, 78%, 35%)
CMYKcmyk(0%, 77.8%, 71.1%, 64.7%)
CIE-LABlab(19.01, 32.01, 15.09)
CIE-LCHlch(19.01, 35.39, 25.24°)
OKLaboklab(31.42% 0.0946 0.0357)
OKLCHoklch(31.42% 0.101 20.7)
XYZxyz(4.6536, 2.7492, 1.2627)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A141A #145A54
analogous
#5A143D #5A141A #5A3114
triadic
#5A141A #1A5A14 #141A5A
tetradic
#5A141A #3D5A14 #145A54 #31145A
square
#5A141A #3D5A14 #145A54 #31145A
split-complementary
#5A141A #145A31 #143D5A
monochromatic
#190607 #28090C #5A141A #8C1F28 #BE2A37

Accessibility & contrast

On white

13.55
#5A141A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A141A
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A141A#FFFFFF#000000##FFFFFF
##5A141A1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251A
Deuteranopia (green-blind)
#393418
Tritanopia (blue-blind)
#630017
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a141a;
/* rgb */ color: rgb(90, 20, 26);
/* oklch */ color: oklch(31.4% 0.101 20.7);
Tailwind
colors: {
  custom: {
    50: '#8e5856',
    500: '#5a141a',
    950: '#000000',
  },
}
SCSS
$custom: #5a141a;
$custom-light: #8e5856;
$custom-dark: #000000;
JSON
{
  "hex": "#5a141a",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 26
  },
  "hsl": {
    "h": 354.857,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31424,
    "c": 0.10107,
    "h": 20.7
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#5A141A
secondary
#38928A
accent
#E7D841
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A141A

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

Preview Lab → · Contrast checker → · Palette generator →

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