#5A241A#5A241A

#5A241A is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.7% C 0.082 H 32.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#5A241A
RGBrgb(90, 36, 26)
HSLhsl(9, 55%, 23%)
HSVhsv(9, 71%, 35%)
CMYKcmyk(0%, 60%, 71.1%, 64.7%)
CIE-LABlab(21.98, 24.06, 18.75)
CIE-LCHlch(21.98, 30.50, 37.93°)
OKLaboklab(33.66% 0.0695 0.0439)
OKLCHoklch(33.66% 0.082 32.2)
XYZxyz(5.0342, 3.5106, 1.3896)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A241A #1A505A
analogous
#5A1A30 #5A241A #5A441A
triadic
#5A241A #1A5A24 #241A5A
tetradic
#5A241A #305A1A #1A505A #441A5A
square
#5A241A #305A1A #1A505A #441A5A
split-complementary
#5A241A #1A5A44 #1A305A
monochromatic
#180907 #2B110C #5A241A #893728 #B94A35

Accessibility & contrast

On white

12.34
#5A241A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5A241A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A241A
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A241A#FFFFFF#000000##FFFFFF
##5A241A1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D19
Deuteranopia (green-blind)
#3F3919
Tritanopia (blue-blind)
#631922
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5a241a;
/* rgb */ color: rgb(90, 36, 26);
/* oklch */ color: oklch(33.7% 0.082 32.2);
Tailwind
colors: {
  custom: {
    50: '#8d6056',
    500: '#5a241a',
    950: '#000000',
  },
}
SCSS
$custom: #5a241a;
$custom-light: #8d6056;
$custom-dark: #000000;
JSON
{
  "hex": "#5a241a",
  "rgb": {
    "r": 90,
    "g": 36,
    "b": 26
  },
  "hsl": {
    "h": 9.375,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33657,
    "c": 0.08219,
    "h": 32.2
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#5A241A
secondary
#408390
accent
#C7DF49
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5A241A

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

Preview Lab → · Contrast checker → · Palette generator →

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