#5A281D#5A281D

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

Color values

HEX#5A281D
RGBrgb(90, 40, 29)
HSLhsl(11, 51%, 23%)
HSVhsv(11, 68%, 35%)
CMYKcmyk(0%, 55.6%, 67.8%, 64.7%)
CIE-LABlab(22.93, 21.97, 17.95)
CIE-LCHlch(22.93, 28.37, 39.25°)
OKLaboklab(34.39% 0.0637 0.0425)
OKLCHoklch(34.39% 0.077 33.7)
XYZxyz(5.1975, 3.7806, 1.6182)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A281D #1D4F5A
analogous
#5A1D30 #5A281D #5A461D
triadic
#5A281D #1D5A28 #281D5A
tetradic
#5A281D #305A1D #1D4F5A #461D5A
square
#5A281D #305A1D #1D4F5A #461D5A
split-complementary
#5A281D #1D5A46 #1D305A
monochromatic
#170A07 #2C130E #5A281D #883D2C #B7513B

Accessibility & contrast

On white

11.96
#5A281D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5A281D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A281D
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A281D#FFFFFF#000000##FFFFFF
##5A281D1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301C
Deuteranopia (green-blind)
#413B1C
Tritanopia (blue-blind)
#631F25
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5a281d;
/* rgb */ color: rgb(90, 40, 29);
/* oklch */ color: oklch(34.4% 0.077 33.7);
Tailwind
colors: {
  custom: {
    50: '#8d6359',
    500: '#5a281d',
    950: '#000000',
  },
}
SCSS
$custom: #5a281d;
$custom-light: #8d6359;
$custom-dark: #000000;
JSON
{
  "hex": "#5a281d",
  "rgb": {
    "r": 90,
    "g": 40,
    "b": 29
  },
  "hsl": {
    "h": 10.82,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34394,
    "c": 0.07655,
    "h": 33.7
  },
  "luminance": 0.0378
}

Semantic roles & 50–950 ramp

primary
#5A281D
secondary
#44828F
accent
#C1DB4D
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5A281D

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

Preview Lab → · Contrast checker → · Palette generator →

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