#5A1121#5A1121

#5A1121 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.104 H 13.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#5A1121
RGBrgb(90, 17, 33)
HSLhsl(347, 68%, 21%)
HSVhsv(347, 81%, 35%)
CMYKcmyk(0%, 81.1%, 63.3%, 64.7%)
CIE-LABlab(18.74, 33.70, 9.81)
CIE-LCHlch(18.74, 35.09, 16.23°)
OKLaboklab(31.27% 0.1015 0.0242)
OKLCHoklch(31.27% 0.104 13.4)
XYZxyz(4.6919, 2.6850, 1.7098)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1121 #115A4A
analogous
#5A1145 #5A1121 #5A2511
triadic
#5A1121 #215A11 #11215A
tetradic
#5A1121 #455A11 #115A4A #25115A
square
#5A1121 #455A11 #115A4A #25115A
split-complementary
#5A1121 #115A25 #11455A
monochromatic
#1A0509 #27070E #5A1121 #8D1B34 #C12447

Accessibility & contrast

On white

13.66
#5A1121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5A1121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1121
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1121#FFFFFF#000000##FFFFFF
##5A11211.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252421
Deuteranopia (green-blind)
#38331F
Tritanopia (blue-blind)
#630018
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1121;
/* rgb */ color: rgb(90, 17, 33);
/* oklch */ color: oklch(31.3% 0.104 13.4);
Tailwind
colors: {
  custom: {
    50: '#8e565b',
    500: '#5a1121',
    950: '#000000',
  },
}
SCSS
$custom: #5a1121;
$custom-light: #8e565b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1121",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 33
  },
  "hsl": {
    "h": 346.849,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31268,
    "c": 0.10433,
    "h": 13.4
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#5A1121
secondary
#34937E
accent
#EBC53D
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A1121

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

Preview Lab → · Contrast checker → · Palette generator →

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