#5A1514#5A1514

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

Color values

HEX#5A1514
RGBrgb(90, 21, 20)
HSLhsl(1, 64%, 22%)
HSVhsv(1, 78%, 35%)
CMYKcmyk(0%, 76.7%, 77.8%, 64.7%)
CIE-LABlab(19.06, 31.24, 19.25)
CIE-LCHlch(19.06, 36.69, 31.64°)
OKLaboklab(31.43% 0.0907 0.0438)
OKLCHoklch(31.43% 0.101 25.8)
XYZxyz(4.6114, 2.7612, 0.9518)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1514 #14595A
analogous
#5A1436 #5A1514 #5A3814
triadic
#5A1514 #145A15 #15145A
tetradic
#5A1514 #365A14 #14595A #38145A
square
#5A1514 #365A14 #14595A #38145A
split-complementary
#5A1514 #145A38 #14365A
monochromatic
#190606 #280909 #5A1514 #8C211F #BE2C2A

Accessibility & contrast

On white

13.53
#5A1514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1514
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1514#FFFFFF#000000##FFFFFF
##5A15141.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292513
Deuteranopia (green-blind)
#3A3412
Tritanopia (blue-blind)
#640016
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1514;
/* rgb */ color: rgb(90, 21, 20);
/* oklch */ color: oklch(31.4% 0.101 25.8);
Tailwind
colors: {
  custom: {
    50: '#8f5851',
    500: '#5a1514',
    950: '#000000',
  },
}
SCSS
$custom: #5a1514;
$custom-light: #8f5851;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1514",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 20
  },
  "hsl": {
    "h": 0.857,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31429,
    "c": 0.10068,
    "h": 25.8
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#5A1514
secondary
#389192
accent
#E4E741
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #5A1514

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

Preview Lab → · Contrast checker → · Palette generator →

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