#5A1413#5A1413

#5A1413 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.102 H 26.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#5A1413
RGBrgb(90, 20, 19)
HSLhsl(1, 65%, 21%)
HSVhsv(1, 79%, 35%)
CMYKcmyk(0%, 77.8%, 78.9%, 64.7%)
CIE-LABlab(18.89, 31.61, 19.70)
CIE-LCHlch(18.89, 37.25, 31.94°)
OKLaboklab(31.3% 0.0916 0.0446)
OKLCHoklch(31.3% 0.102 26)
XYZxyz(4.5847, 2.7217, 0.8999)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1413 #13595A
analogous
#5A1336 #5A1413 #5A3813
triadic
#5A1413 #135A14 #14135A
tetradic
#5A1413 #365A13 #13595A #38135A
square
#5A1413 #365A13 #13595A #38135A
split-complementary
#5A1413 #135A38 #13365A
monochromatic
#190605 #270908 #5A1413 #8D1F1E #BF2A28

Accessibility & contrast

On white

13.60
#5A1413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1413
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1413#FFFFFF#000000##FFFFFF
##5A14131.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282412
Deuteranopia (green-blind)
#3A3311
Tritanopia (blue-blind)
#640015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1413;
/* rgb */ color: rgb(90, 20, 19);
/* oklch */ color: oklch(31.3% 0.102 26.0);
Tailwind
colors: {
  custom: {
    50: '#8f5750',
    500: '#5a1413',
    950: '#000000',
  },
}
SCSS
$custom: #5a1413;
$custom-light: #8f5750;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1413",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 19
  },
  "hsl": {
    "h": 0.845,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31298,
    "c": 0.10187,
    "h": 26
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#5A1413
secondary
#379192
accent
#E6E840
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1413

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

Preview Lab → · Contrast checker → · Palette generator →

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