#5A1513#5A1513

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

Color values

HEX#5A1513
RGBrgb(90, 21, 19)
HSLhsl(2, 65%, 21%)
HSVhsv(2, 79%, 35%)
CMYKcmyk(0%, 76.7%, 78.9%, 64.7%)
CIE-LABlab(19.05, 31.19, 19.88)
CIE-LCHlch(19.05, 36.98, 32.52°)
OKLaboklab(31.41% 0.0903 0.045)
OKLCHoklch(31.41% 0.101 26.5)
XYZxyz(4.6027, 2.7577, 0.9059)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1513 #13585A
analogous
#5A1335 #5A1513 #5A3913
triadic
#5A1513 #135A15 #15135A
tetradic
#5A1513 #355A13 #13585A #39135A
square
#5A1513 #355A13 #13585A #39135A
split-complementary
#5A1513 #135A39 #13355A
monochromatic
#190605 #270908 #5A1513 #8D211E #BF2D28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A1513#FFFFFF#000000##FFFFFF
##5A15131.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)
#292512
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#640015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1513;
/* rgb */ color: rgb(90, 21, 19);
/* oklch */ color: oklch(31.4% 0.101 26.5);
Tailwind
colors: {
  custom: {
    50: '#8f5850',
    500: '#5a1513',
    950: '#000000',
  },
}
SCSS
$custom: #5a1513;
$custom-light: #8f5850;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1513",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 19
  },
  "hsl": {
    "h": 1.69,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31413,
    "c": 0.10084,
    "h": 26.5
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#5A1513
secondary
#379092
accent
#E3E840
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1513

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

Preview Lab → · Contrast checker → · Palette generator →

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