#5A201A#5A201A

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

Color values

HEX#5A201A
RGBrgb(90, 32, 26)
HSLhsl(6, 55%, 23%)
HSVhsv(6, 71%, 35%)
CMYKcmyk(0%, 64.4%, 71.1%, 64.7%)
CIE-LABlab(21.14, 26.26, 17.73)
CIE-LCHlch(21.14, 31.68, 34.02°)
OKLaboklab(33.02% 0.0764 0.0416)
OKLCHoklch(33.02% 0.087 28.6)
XYZxyz(4.9199, 3.2819, 1.3515)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A201A #1A545A
analogous
#5A1A34 #5A201A #5A401A
triadic
#5A201A #1A5A20 #201A5A
tetradic
#5A201A #345A1A #1A545A #401A5A
square
#5A201A #345A1A #1A545A #401A5A
split-complementary
#5A201A #1A5A40 #1A345A
monochromatic
#180807 #2B0F0C #5A201A #893128 #B94235

Accessibility & contrast

On white

12.68
#5A201A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A201A
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A201A#FFFFFF#000000##FFFFFF
##5A201A1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B19
Deuteranopia (green-blind)
#3E3718
Tritanopia (blue-blind)
#63141F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a201a;
/* rgb */ color: rgb(90, 32, 26);
/* oklch */ color: oklch(33.0% 0.087 28.6);
Tailwind
colors: {
  custom: {
    50: '#8e5e56',
    500: '#5a201a',
    950: '#000000',
  },
}
SCSS
$custom: #5a201a;
$custom-light: #8e5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5a201a",
  "rgb": {
    "r": 90,
    "g": 32,
    "b": 26
  },
  "hsl": {
    "h": 5.625,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33019,
    "c": 0.08697,
    "h": 28.6
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#5A201A
secondary
#408990
accent
#D1DF49
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A201A

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

Preview Lab → · Contrast checker → · Palette generator →

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