#5A111C#5A111C

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

Color values

HEX#5A111C
RGBrgb(90, 17, 28)
HSLhsl(351, 68%, 21%)
HSVhsv(351, 81%, 35%)
CMYKcmyk(0%, 81.1%, 68.9%, 64.7%)
CIE-LABlab(18.62, 33.33, 13.20)
CIE-LCHlch(18.62, 35.85, 21.61°)
OKLaboklab(31.15% 0.0992 0.0317)
OKLCHoklch(31.15% 0.104 17.7)
XYZxyz(4.6270, 2.6591, 1.3680)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A111C #115A4F
analogous
#5A1140 #5A111C #5A2A11
triadic
#5A111C #1C5A11 #111C5A
tetradic
#5A111C #405A11 #115A4F #2A115A
square
#5A111C #405A11 #115A4F #2A115A
split-complementary
#5A111C #115A2A #11405A
monochromatic
#1A0508 #27070C #5A111C #8D1B2C #C1243C

Accessibility & contrast

On white

13.71
#5A111C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A111C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A111C#FFFFFF#000000##FFFFFF
##5A111C1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241C
Deuteranopia (green-blind)
#38331A
Tritanopia (blue-blind)
#630016
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a111c;
/* rgb */ color: rgb(90, 17, 28);
/* oklch */ color: oklch(31.1% 0.104 17.7);
Tailwind
colors: {
  custom: {
    50: '#8e5657',
    500: '#5a111c',
    950: '#000000',
  },
}
SCSS
$custom: #5a111c;
$custom-light: #8e5657;
$custom-dark: #000000;
JSON
{
  "hex": "#5a111c",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 28
  },
  "hsl": {
    "h": 350.959,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31149,
    "c": 0.10417,
    "h": 17.7
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#5A111C
secondary
#349385
accent
#EBD13D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A111C

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

Preview Lab → · Contrast checker → · Palette generator →

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