#5A1111#5A1111

#5A1111 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.9% C 0.105 H 25.9°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#5A1111
RGBrgb(90, 17, 17)
HSLhsl(0, 68%, 21%)
HSVhsv(0, 81%, 35%)
CMYKcmyk(0%, 81.1%, 81.1%, 64.7%)
CIE-LABlab(18.43, 32.71, 20.38)
CIE-LCHlch(18.43, 38.54, 31.93°)
OKLaboklab(30.95% 0.0946 0.0458)
OKLCHoklch(30.95% 0.105 25.9)
XYZxyz(4.5186, 2.6157, 0.7972)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1111 #115A5A
analogous
#5A1135 #5A1111 #5A3511
triadic
#5A1111 #115A11 #11115A
tetradic
#5A1111 #355A11 #115A5A #35115A
square
#5A1111 #355A11 #115A5A #35115A
split-complementary
#5A1111 #115A35 #11355A
monochromatic
#1A0505 #270707 #5A1111 #8D1B1B #C12424

Accessibility & contrast

On white

13.79
#5A1111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#5A1111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1111
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1111#FFFFFF#000000##FFFFFF
##5A11111.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272310
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#640012
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1111;
/* rgb */ color: rgb(90, 17, 17);
/* oklch */ color: oklch(30.9% 0.105 25.9);
Tailwind
colors: {
  custom: {
    50: '#8f564f',
    500: '#5a1111',
    950: '#000000',
  },
}
SCSS
$custom: #5a1111;
$custom-light: #8f564f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1111",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 17
  },
  "hsl": {
    "h": 0,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30947,
    "c": 0.10509,
    "h": 25.9
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#5A1111
secondary
#349393
accent
#EBEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1111

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

Preview Lab → · Contrast checker → · Palette generator →

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