#5A291A#5A291A

#5A291A is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.5% C 0.077 H 37.7°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#5A291A
RGBrgb(90, 41, 26)
HSLhsl(14, 55%, 23%)
HSVhsv(14, 71%, 35%)
CMYKcmyk(0%, 54.4%, 71.1%, 64.7%)
CIE-LABlab(23.12, 21.16, 20.11)
CIE-LCHlch(23.12, 29.19, 43.54°)
OKLaboklab(34.52% 0.0606 0.0468)
OKLCHoklch(34.52% 0.077 37.7)
XYZxyz(5.1963, 3.8347, 1.4436)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A291A #1A4B5A
analogous
#5A1A2B #5A291A #5A491A
triadic
#5A291A #1A5A29 #291A5A
tetradic
#5A291A #2B5A1A #1A4B5A #491A5A
square
#5A291A #2B5A1A #1A4B5A #491A5A
split-complementary
#5A291A #1A5A49 #1A2B5A
monochromatic
#180B07 #2B130C #5A291A #893F28 #B95435

Accessibility & contrast

On white

11.89
#5A291A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5A291A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A291A
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A291A#FFFFFF#000000##FFFFFF
##5A291A1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363118
Deuteranopia (green-blind)
#423B19
Tritanopia (blue-blind)
#632026
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5a291a;
/* rgb */ color: rgb(90, 41, 26);
/* oklch */ color: oklch(34.5% 0.077 37.7);
Tailwind
colors: {
  custom: {
    50: '#8d6457',
    500: '#5a291a',
    950: '#000000',
  },
}
SCSS
$custom: #5a291a;
$custom-light: #8d6457;
$custom-dark: #000000;
JSON
{
  "hex": "#5a291a",
  "rgb": {
    "r": 90,
    "g": 41,
    "b": 26
  },
  "hsl": {
    "h": 14.063,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34519,
    "c": 0.07656,
    "h": 37.7
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#5A291A
secondary
#407D90
accent
#BCDF49
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5A291A

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

Preview Lab → · Contrast checker → · Palette generator →

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