#5A1622#5A1622

#5A1622 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.8% C 0.099 H 14.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#5A1622
RGBrgb(90, 22, 34)
HSLhsl(349, 61%, 22%)
HSVhsv(349, 76%, 35%)
CMYKcmyk(0%, 75.6%, 62.2%, 64.7%)
CIE-LABlab(19.49, 31.75, 10.11)
CIE-LCHlch(19.49, 33.32, 17.67°)
OKLaboklab(31.84% 0.0954 0.025)
OKLCHoklch(31.84% 0.099 14.7)
XYZxyz(4.7925, 2.8636, 1.8134)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1622 #165A4E
analogous
#5A1644 #5A1622 #5A2C16
triadic
#5A1622 #225A16 #16225A
tetradic
#5A1622 #445A16 #165A4E #2C165A
square
#5A1622 #445A16 #165A4E #2C165A
split-complementary
#5A1622 #165A2C #16445A
monochromatic
#190609 #290A0F #5A1622 #8B2235 #BC2E47

Accessibility & contrast

On white

13.35
#5A1622 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5A1622 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1622
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1622#FFFFFF#000000##FFFFFF
##5A16221.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272622
Deuteranopia (green-blind)
#393420
Tritanopia (blue-blind)
#63061B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1622;
/* rgb */ color: rgb(90, 22, 34);
/* oklch */ color: oklch(31.8% 0.099 14.7);
Tailwind
colors: {
  custom: {
    50: '#8d595c',
    500: '#5a1622',
    950: '#000000',
  },
}
SCSS
$custom: #5a1622;
$custom-light: #8d595c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1622",
  "rgb": {
    "r": 90,
    "g": 22,
    "b": 34
  },
  "hsl": {
    "h": 349.412,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31835,
    "c": 0.09866,
    "h": 14.7
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#5A1622
secondary
#3B9182
accent
#E4C844
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0404
muted
#7E7979

Preview Lab

Preview with #5A1622

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

Preview Lab → · Contrast checker → · Palette generator →

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