#5A1112#5A1112

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

Color values

HEX#5A1112
RGBrgb(90, 17, 18)
HSLhsl(359, 68%, 21%)
HSVhsv(359, 81%, 35%)
CMYKcmyk(0%, 81.1%, 80%, 64.7%)
CIE-LABlab(18.45, 32.75, 19.80)
CIE-LCHlch(18.45, 38.28, 31.16°)
OKLaboklab(30.96% 0.095 0.0447)
OKLCHoklch(30.96% 0.105 25.2)
XYZxyz(4.5266, 2.6189, 0.8393)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1112 #115A59
analogous
#5A1136 #5A1112 #5A3411
triadic
#5A1112 #125A11 #11125A
tetradic
#5A1112 #365A11 #115A59 #34115A
square
#5A1112 #365A11 #115A59 #34115A
split-complementary
#5A1112 #115A34 #11365A
monochromatic
#1A0505 #270708 #5A1112 #8D1B1C #C12427

Accessibility & contrast

On white

13.78
#5A1112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1112
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1112#FFFFFF#000000##FFFFFF
##5A11121.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a1112;
/* rgb */ color: rgb(90, 17, 18);
/* oklch */ color: oklch(31.0% 0.105 25.2);
Tailwind
colors: {
  custom: {
    50: '#8f5650',
    500: '#5a1112',
    950: '#000000',
  },
}
SCSS
$custom: #5a1112;
$custom-light: #8f5650;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1112",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 18
  },
  "hsl": {
    "h": 359.178,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30962,
    "c": 0.10496,
    "h": 25.2
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#5A1112
secondary
#349392
accent
#EBE93D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1112

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

Preview Lab → · Contrast checker → · Palette generator →

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