#5A141F#5A141F

#5A141F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.101 H 16.5°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#5A141F
RGBrgb(90, 20, 31)
HSLhsl(351, 64%, 22%)
HSVhsv(351, 78%, 35%)
CMYKcmyk(0%, 77.8%, 65.6%, 64.7%)
CIE-LABlab(19.11, 32.36, 11.73)
CIE-LCHlch(19.11, 34.42, 19.92°)
OKLaboklab(31.53% 0.0968 0.0286)
OKLCHoklch(31.53% 0.101 16.5)
XYZxyz(4.7144, 2.7736, 1.5832)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A141F #145A4F
analogous
#5A1442 #5A141F #5A2C14
triadic
#5A141F #1F5A14 #141F5A
tetradic
#5A141F #425A14 #145A4F #2C145A
square
#5A141F #425A14 #145A4F #2C145A
split-complementary
#5A141F #145A2C #14425A
monochromatic
#190609 #28090E #5A141F #8C1F30 #BE2A41

Accessibility & contrast

On white

13.51
#5A141F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A141F
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A141F#FFFFFF#000000##FFFFFF
##5A141F1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#39341D
Tritanopia (blue-blind)
#630219
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a141f;
/* rgb */ color: rgb(90, 20, 31);
/* oklch */ color: oklch(31.5% 0.101 16.5);
Tailwind
colors: {
  custom: {
    50: '#8e585a',
    500: '#5a141f',
    950: '#000000',
  },
}
SCSS
$custom: #5a141f;
$custom-light: #8e585a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a141f",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 31
  },
  "hsl": {
    "h": 350.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31533,
    "c": 0.10092,
    "h": 16.5
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#5A141F
secondary
#389284
accent
#E7CD41
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A141F

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

Preview Lab → · Contrast checker → · Palette generator →

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