#5A111A#5A111A

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

Color values

HEX#5A111A
RGBrgb(90, 17, 26)
HSLhsl(353, 68%, 21%)
HSVhsv(353, 81%, 35%)
CMYKcmyk(0%, 81.1%, 71.1%, 64.7%)
CIE-LABlab(18.58, 33.20, 14.56)
CIE-LCHlch(18.58, 36.25, 23.67°)
OKLaboklab(31.11% 0.0984 0.0345)
OKLCHoklch(31.11% 0.104 19.3)
XYZxyz(4.6038, 2.6498, 1.2461)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A111A #115A51
analogous
#5A113E #5A111A #5A2C11
triadic
#5A111A #1A5A11 #111A5A
tetradic
#5A111A #3E5A11 #115A51 #2C115A
square
#5A111A #3E5A11 #115A51 #2C115A
split-complementary
#5A111A #115A2C #113E5A
monochromatic
#1A0507 #27070B #5A111A #8D1B29 #C12438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A111A#FFFFFF#000000##FFFFFF
##5A111A1.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)
#26231A
Deuteranopia (green-blind)
#383318
Tritanopia (blue-blind)
#630015
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a111a;
/* rgb */ color: rgb(90, 17, 26);
/* oklch */ color: oklch(31.1% 0.104 19.3);
Tailwind
colors: {
  custom: {
    50: '#8f5656',
    500: '#5a111a',
    950: '#000000',
  },
}
SCSS
$custom: #5a111a;
$custom-light: #8f5656;
$custom-dark: #000000;
JSON
{
  "hex": "#5a111a",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 26
  },
  "hsl": {
    "h": 352.603,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31106,
    "c": 0.10423,
    "h": 19.3
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#5A111A
secondary
#349387
accent
#EBD63D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A111A

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

Preview Lab → · Contrast checker → · Palette generator →

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