#5A111B#5A111B

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

Color values

HEX#5A111B
RGBrgb(90, 17, 27)
HSLhsl(352, 68%, 21%)
HSVhsv(352, 81%, 35%)
CMYKcmyk(0%, 81.1%, 70%, 64.7%)
CIE-LABlab(18.60, 33.26, 13.88)
CIE-LCHlch(18.60, 36.04, 22.65°)
OKLaboklab(31.13% 0.0988 0.0331)
OKLCHoklch(31.13% 0.104 18.5)
XYZxyz(4.6152, 2.6544, 1.3060)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A111B #115A50
analogous
#5A113F #5A111B #5A2B11
triadic
#5A111B #1B5A11 #111B5A
tetradic
#5A111B #3F5A11 #115A50 #2B115A
square
#5A111B #3F5A11 #115A50 #2B115A
split-complementary
#5A111B #115A2B #113F5A
monochromatic
#1A0508 #27070C #5A111B #8D1B2A #C1243A

Accessibility & contrast

On white

13.72
#5A111B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A111B
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A111B#FFFFFF#000000##FFFFFF
##5A111B1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231B
Deuteranopia (green-blind)
#383319
Tritanopia (blue-blind)
#630015
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a111b;
/* rgb */ color: rgb(90, 17, 27);
/* oklch */ color: oklch(31.1% 0.104 18.5);
Tailwind
colors: {
  custom: {
    50: '#8e5657',
    500: '#5a111b',
    950: '#000000',
  },
}
SCSS
$custom: #5a111b;
$custom-light: #8e5657;
$custom-dark: #000000;
JSON
{
  "hex": "#5a111b",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 27
  },
  "hsl": {
    "h": 351.781,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31127,
    "c": 0.10419,
    "h": 18.5
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#5A111B
secondary
#349386
accent
#EBD33D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A111B

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

Preview Lab → · Contrast checker → · Palette generator →

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