#5A1119#5A1119

#5A1119 is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.1% C 0.104 H 20.1°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#5A1119
RGBrgb(90, 17, 25)
HSLhsl(353, 68%, 21%)
HSVhsv(353, 81%, 35%)
CMYKcmyk(0%, 81.1%, 72.2%, 64.7%)
CIE-LABlab(18.56, 33.14, 15.23)
CIE-LCHlch(18.56, 36.47, 24.68°)
OKLaboklab(31.09% 0.0979 0.0359)
OKLCHoklch(31.09% 0.104 20.1)
XYZxyz(4.5929, 2.6454, 1.1883)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1119 #115A52
analogous
#5A113D #5A1119 #5A2D11
triadic
#5A1119 #195A11 #11195A
tetradic
#5A1119 #3D5A11 #115A52 #2D115A
square
#5A1119 #3D5A11 #115A52 #2D115A
split-complementary
#5A1119 #115A2D #113D5A
monochromatic
#1A0507 #27070B #5A1119 #8D1B27 #C12436

Accessibility & contrast

On white

13.73
#5A1119 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5A1119 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1119
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1119#FFFFFF#000000##FFFFFF
##5A11191.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262319
Deuteranopia (green-blind)
#383317
Tritanopia (blue-blind)
#640015
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1119;
/* rgb */ color: rgb(90, 17, 25);
/* oklch */ color: oklch(31.1% 0.104 20.1);
Tailwind
colors: {
  custom: {
    50: '#8f5655',
    500: '#5a1119',
    950: '#000000',
  },
}
SCSS
$custom: #5a1119;
$custom-light: #8f5655;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1119",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 25
  },
  "hsl": {
    "h": 353.425,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31086,
    "c": 0.10427,
    "h": 20.1
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#5A1119
secondary
#349388
accent
#EBD83D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A1119

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

Preview Lab → · Contrast checker → · Palette generator →

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