#5A141B#5A141B

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

Color values

HEX#5A141B
RGBrgb(90, 20, 27)
HSLhsl(354, 64%, 22%)
HSVhsv(354, 78%, 35%)
CMYKcmyk(0%, 77.8%, 70%, 64.7%)
CIE-LABlab(19.03, 32.08, 14.42)
CIE-LCHlch(19.03, 35.17, 24.21°)
OKLaboklab(31.44% 0.095 0.0343)
OKLCHoklch(31.44% 0.101 19.9)
XYZxyz(4.6649, 2.7538, 1.3226)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A141B #145A53
analogous
#5A143E #5A141B #5A3014
triadic
#5A141B #1B5A14 #141B5A
tetradic
#5A141B #3E5A14 #145A53 #30145A
square
#5A141B #3E5A14 #145A53 #30145A
split-complementary
#5A141B #145A30 #143E5A
monochromatic
#190608 #28090C #5A141B #8C1F2A #BE2A39

Accessibility & contrast

On white

13.54
#5A141B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A141B
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A141B#FFFFFF#000000##FFFFFF
##5A141B1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251B
Deuteranopia (green-blind)
#393419
Tritanopia (blue-blind)
#630017
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a141b;
/* rgb */ color: rgb(90, 20, 27);
/* oklch */ color: oklch(31.4% 0.101 19.9);
Tailwind
colors: {
  custom: {
    50: '#8e5857',
    500: '#5a141b',
    950: '#000000',
  },
}
SCSS
$custom: #5a141b;
$custom-light: #8e5857;
$custom-dark: #000000;
JSON
{
  "hex": "#5a141b",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 27
  },
  "hsl": {
    "h": 354,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31444,
    "c": 0.10101,
    "h": 19.9
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#5A141B
secondary
#389289
accent
#E7D641
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A141B

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

Preview Lab → · Contrast checker → · Palette generator →

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