#5A1216#5A1216

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

Color values

HEX#5A1216
RGBrgb(90, 18, 22)
HSLhsl(357, 67%, 21%)
HSVhsv(357, 80%, 35%)
CMYKcmyk(0%, 80%, 75.6%, 64.7%)
CIE-LABlab(18.65, 32.58, 17.41)
CIE-LCHlch(18.65, 36.94, 28.12°)
OKLaboklab(31.13% 0.0954 0.0402)
OKLCHoklch(31.13% 0.104 22.9)
XYZxyz(4.5781, 2.6649, 1.0322)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1216 #125A56
analogous
#5A123A #5A1216 #5A3212
triadic
#5A1216 #165A12 #12165A
tetradic
#5A1216 #3A5A12 #125A56 #32125A
square
#5A1216 #3A5A12 #125A56 #32125A
split-complementary
#5A1216 #125A32 #123A5A
monochromatic
#1A0506 #27080A #5A1216 #8D1C22 #C0262F

Accessibility & contrast

On white

13.70
#5A1216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1216
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1216#FFFFFF#000000##FFFFFF
##5A12161.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272415
Deuteranopia (green-blind)
#393314
Tritanopia (blue-blind)
#640014
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1216;
/* rgb */ color: rgb(90, 18, 22);
/* oklch */ color: oklch(31.1% 0.104 22.9);
Tailwind
colors: {
  custom: {
    50: '#8f5753',
    500: '#5a1216',
    950: '#000000',
  },
}
SCSS
$custom: #5a1216;
$custom-light: #8f5753;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1216",
  "rgb": {
    "r": 90,
    "g": 18,
    "b": 22
  },
  "hsl": {
    "h": 356.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31131,
    "c": 0.10351,
    "h": 22.9
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#5A1216
secondary
#35938D
accent
#EAE03E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #5A1216

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

Preview Lab → · Contrast checker → · Palette generator →

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