#5A202D#5A202D

#5A202D is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.5% C 0.086 H 9.2°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#5A202D
RGBrgb(90, 32, 45)
HSLhsl(347, 48%, 24%)
HSVhsv(347, 64%, 35%)
CMYKcmyk(0%, 64.4%, 50%, 64.7%)
CIE-LABlab(21.57, 27.97, 5.30)
CIE-LCHlch(21.57, 28.46, 10.72°)
OKLaboklab(33.48% 0.0849 0.0138)
OKLCHoklch(33.48% 0.086 9.2)
XYZxyz(5.2070, 3.3968, 2.8635)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A202D #205A4D
analogous
#5A204A #5A202D #5A3020
triadic
#5A202D #2D5A20 #202D5A
tetradic
#5A202D #4A5A20 #205A4D #30205A
square
#5A202D #4A5A20 #205A4D #30205A
split-complementary
#5A202D #205A30 #204A5A
monochromatic
#17080B #2D1016 #5A202D #873044 #B4405A

Accessibility & contrast

On white

12.51
#5A202D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5A202D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A202D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A202D#FFFFFF#000000##FFFFFF
##5A202D1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2D
Deuteranopia (green-blind)
#3B382C
Tritanopia (blue-blind)
#621825
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5a202d;
/* rgb */ color: rgb(90, 32, 45);
/* oklch */ color: oklch(33.5% 0.086 9.2);
Tailwind
colors: {
  custom: {
    50: '#8c5e65',
    500: '#5a202d',
    950: '#000000',
  },
}
SCSS
$custom: #5a202d;
$custom-light: #8c5e65;
$custom-dark: #000000;
JSON
{
  "hex": "#5a202d",
  "rgb": {
    "r": 90,
    "g": 32,
    "b": 45
  },
  "hsl": {
    "h": 346.552,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3348,
    "c": 0.08603,
    "h": 9.2
  },
  "luminance": 0.03396
}

Semantic roles & 50–950 ramp

primary
#5A202D
secondary
#478E7F
accent
#D7B951
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0505
muted
#7D797A

Preview Lab

Preview with #5A202D

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

Preview Lab → · Contrast checker → · Palette generator →

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