#5A2016#5A2016

#5A2016 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.0% C 0.088 H 31.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#5A2016
RGBrgb(90, 32, 22)
HSLhsl(9, 61%, 22%)
HSVhsv(9, 76%, 35%)
CMYKcmyk(0%, 64.4%, 75.6%, 64.7%)
CIE-LABlab(21.08, 26.00, 20.27)
CIE-LCHlch(21.08, 32.97, 37.94°)
OKLaboklab(32.95% 0.0747 0.0465)
OKLCHoklch(32.95% 0.088 31.9)
XYZxyz(4.8783, 3.2653, 1.1323)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2016 #16505A
analogous
#5A162E #5A2016 #5A4216
triadic
#5A2016 #165A20 #20165A
tetradic
#5A2016 #2E5A16 #16505A #42165A
square
#5A2016 #2E5A16 #16505A #42165A
split-complementary
#5A2016 #165A42 #162E5A
monochromatic
#190906 #290F0A #5A2016 #8B3122 #BC432E

Accessibility & contrast

On white

12.70
#5A2016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5A2016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2016
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2016#FFFFFF#000000##FFFFFF
##5A20161.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B15
Deuteranopia (green-blind)
#3E3714
Tritanopia (blue-blind)
#63131E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a2016;
/* rgb */ color: rgb(90, 32, 22);
/* oklch */ color: oklch(33.0% 0.088 31.9);
Tailwind
colors: {
  custom: {
    50: '#8e5e53',
    500: '#5a2016',
    950: '#000000',
  },
}
SCSS
$custom: #5a2016;
$custom-light: #8e5e53;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2016",
  "rgb": {
    "r": 90,
    "g": 32,
    "b": 22
  },
  "hsl": {
    "h": 8.824,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32952,
    "c": 0.08798,
    "h": 31.9
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#5A2016
secondary
#3B8491
accent
#CCE444
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5A2016

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

Preview Lab → · Contrast checker → · Palette generator →

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