#5A1011#5A1011

#5A1011 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.106 H 25.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#5A1011
RGBrgb(90, 16, 17)
HSLhsl(359, 70%, 21%)
HSVhsv(359, 82%, 35%)
CMYKcmyk(0%, 82.2%, 81.1%, 64.7%)
CIE-LABlab(18.30, 33.08, 20.22)
CIE-LCHlch(18.30, 38.77, 31.44°)
OKLaboklab(30.85% 0.0958 0.0455)
OKLCHoklch(30.85% 0.106 25.4)
XYZxyz(4.5034, 2.5854, 0.7921)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1011 #105A59
analogous
#5A1036 #5A1011 #5A3410
triadic
#5A1011 #115A10 #10115A
tetradic
#5A1011 #365A10 #105A59 #34105A
square
#5A1011 #365A10 #105A59 #34105A
split-complementary
#5A1011 #105A34 #10365A
monochromatic
#1A0505 #260707 #5A1011 #8E191B #C22225

Accessibility & contrast

On white

13.84
#5A1011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1011
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1011#FFFFFF#000000##FFFFFF
##5A10111.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272210
Deuteranopia (green-blind)
#39320E
Tritanopia (blue-blind)
#640011
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1011;
/* rgb */ color: rgb(90, 16, 17);
/* oklch */ color: oklch(30.8% 0.106 25.4);
Tailwind
colors: {
  custom: {
    50: '#8f564f',
    500: '#5a1011',
    950: '#000000',
  },
}
SCSS
$custom: #5a1011;
$custom-light: #8f564f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1011",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 17
  },
  "hsl": {
    "h": 359.189,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30848,
    "c": 0.10602,
    "h": 25.4
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#5A1011
secondary
#339392
accent
#EDEA3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1011

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

Preview Lab → · Contrast checker → · Palette generator →

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