#5A1016#5A1016

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

Color values

HEX#5A1016
RGBrgb(90, 16, 22)
HSLhsl(355, 70%, 21%)
HSVhsv(355, 82%, 35%)
CMYKcmyk(0%, 82.2%, 75.6%, 64.7%)
CIE-LABlab(18.38, 33.33, 17.08)
CIE-LCHlch(18.38, 37.45, 27.14°)
OKLaboklab(30.93% 0.0978 0.0395)
OKLCHoklch(30.93% 0.105 22)
XYZxyz(4.5471, 2.6029, 1.0219)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1016 #105A54
analogous
#5A103B #5A1016 #5A2F10
triadic
#5A1016 #165A10 #10165A
tetradic
#5A1016 #3B5A10 #105A54 #2F105A
square
#5A1016 #3B5A10 #105A54 #2F105A
split-complementary
#5A1016 #105A2F #103B5A
monochromatic
#1A0506 #260709 #5A1016 #8E1923 #C2222F

Accessibility & contrast

On white

13.81
#5A1016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1016
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1016#FFFFFF#000000##FFFFFF
##5A10161.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262316
Deuteranopia (green-blind)
#383314
Tritanopia (blue-blind)
#640013
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1016;
/* rgb */ color: rgb(90, 16, 22);
/* oklch */ color: oklch(30.9% 0.105 22.0);
Tailwind
colors: {
  custom: {
    50: '#8f5653',
    500: '#5a1016',
    950: '#000000',
  },
}
SCSS
$custom: #5a1016;
$custom-light: #8f5653;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1016",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 22
  },
  "hsl": {
    "h": 355.135,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3093,
    "c": 0.10546,
    "h": 22
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#5A1016
secondary
#33938B
accent
#EDDE3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1016

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

Preview Lab → · Contrast checker → · Palette generator →

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