#5A2020#5A2020

#5A2020 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.1% C 0.086 H 23.0°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#5A2020
RGBrgb(90, 32, 32)
HSLhsl(0, 48%, 24%)
HSVhsv(0, 64%, 35%)
CMYKcmyk(0%, 64.4%, 64.4%, 64.7%)
CIE-LABlab(21.25, 26.71, 13.83)
CIE-LCHlch(21.25, 30.08, 27.37°)
OKLaboklab(33.14% 0.0791 0.0335)
OKLCHoklch(33.14% 0.086 23)
XYZxyz(4.9941, 3.3116, 1.7424)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2020 #205A5A
analogous
#5A203D #5A2020 #5A3D20
triadic
#5A2020 #205A20 #20205A
tetradic
#5A2020 #3D5A20 #205A5A #3D205A
square
#5A2020 #3D5A20 #205A5A #3D205A
split-complementary
#5A2020 #205A3D #203D5A
monochromatic
#170808 #2D1010 #5A2020 #873030 #B44040

Accessibility & contrast

On white

12.63
#5A2020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5A2020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2020
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2020#FFFFFF#000000##FFFFFF
##5A20201.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B20
Deuteranopia (green-blind)
#3D381F
Tritanopia (blue-blind)
#631521
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a2020;
/* rgb */ color: rgb(90, 32, 32);
/* oklch */ color: oklch(33.1% 0.086 23.0);
Tailwind
colors: {
  custom: {
    50: '#8d5e5b',
    500: '#5a2020',
    950: '#000000',
  },
}
SCSS
$custom: #5a2020;
$custom-light: #8d5e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2020",
  "rgb": {
    "r": 90,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3314,
    "c": 0.08586,
    "h": 23
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#5A2020
secondary
#478E8E
accent
#D7D751
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0404
muted
#7E7979

Preview Lab

Preview with #5A2020

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

Preview Lab → · Contrast checker → · Palette generator →

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