#5A141E#5A141E

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

Color values

HEX#5A141E
RGBrgb(90, 20, 30)
HSLhsl(351, 64%, 22%)
HSVhsv(351, 78%, 35%)
CMYKcmyk(0%, 77.8%, 66.7%, 64.7%)
CIE-LABlab(19.09, 32.28, 12.40)
CIE-LCHlch(19.09, 34.58, 21.01°)
OKLaboklab(31.51% 0.0963 0.0301)
OKLCHoklch(31.51% 0.101 17.3)
XYZxyz(4.7014, 2.7684, 1.5148)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A141E #145A50
analogous
#5A1441 #5A141E #5A2D14
triadic
#5A141E #1E5A14 #141E5A
tetradic
#5A141E #415A14 #145A50 #2D145A
square
#5A141E #415A14 #145A50 #2D145A
split-complementary
#5A141E #145A2D #14415A
monochromatic
#190608 #28090D #5A141E #8C1F2F #BE2A3F

Accessibility & contrast

On white

13.52
#5A141E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A141E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A141E#FFFFFF#000000##FFFFFF
##5A141E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251E
Deuteranopia (green-blind)
#39341C
Tritanopia (blue-blind)
#630118
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a141e;
/* rgb */ color: rgb(90, 20, 30);
/* oklch */ color: oklch(31.5% 0.101 17.3);
Tailwind
colors: {
  custom: {
    50: '#8e5859',
    500: '#5a141e',
    950: '#000000',
  },
}
SCSS
$custom: #5a141e;
$custom-light: #8e5859;
$custom-dark: #000000;
JSON
{
  "hex": "#5a141e",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 30
  },
  "hsl": {
    "h": 351.429,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3151,
    "c": 0.10092,
    "h": 17.3
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#5A141E
secondary
#389285
accent
#E7CF41
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A141E

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

Preview Lab → · Contrast checker → · Palette generator →

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