#5A1314#5A1314

#5A1314 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.103 H 24.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#5A1314
RGBrgb(90, 19, 20)
HSLhsl(359, 65%, 21%)
HSVhsv(359, 79%, 35%)
CMYKcmyk(0%, 78.9%, 77.8%, 64.7%)
CIE-LABlab(18.76, 32.07, 18.90)
CIE-LCHlch(18.76, 37.22, 30.51°)
OKLaboklab(31.2% 0.0933 0.0431)
OKLCHoklch(31.2% 0.103 24.8)
XYZxyz(4.5761, 2.6906, 0.9401)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1314 #135A59
analogous
#5A1338 #5A1314 #5A3613
triadic
#5A1314 #145A13 #13145A
tetradic
#5A1314 #385A13 #135A59 #36135A
square
#5A1314 #385A13 #135A59 #36135A
split-complementary
#5A1314 #135A36 #13385A
monochromatic
#190506 #270809 #5A1314 #8D1E1F #BF282A

Accessibility & contrast

On white

13.65
#5A1314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1314
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1314#FFFFFF#000000##FFFFFF
##5A13141.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282413
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#640014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1314;
/* rgb */ color: rgb(90, 19, 20);
/* oklch */ color: oklch(31.2% 0.103 24.8);
Tailwind
colors: {
  custom: {
    50: '#8f5751',
    500: '#5a1314',
    950: '#000000',
  },
}
SCSS
$custom: #5a1314;
$custom-light: #8f5751;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1314",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 20
  },
  "hsl": {
    "h": 359.155,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31204,
    "c": 0.10274,
    "h": 24.8
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#5A1314
secondary
#379291
accent
#E8E640
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1314

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

Preview Lab → · Contrast checker → · Palette generator →

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