#5A282A#5A282A

#5A282A is a dark, moderate red. Relative luminance 0.039; OKLCH L 34.7% C 0.074 H 19.2°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#5A282A
RGBrgb(90, 40, 42)
HSLhsl(358, 38%, 25%)
HSVhsv(358, 56%, 35%)
CMYKcmyk(0%, 55.6%, 53.3%, 64.7%)
CIE-LABlab(23.20, 23.17, 9.62)
CIE-LCHlch(23.20, 25.09, 22.54°)
OKLaboklab(34.68% 0.0696 0.0242)
OKLCHoklch(34.68% 0.074 19.2)
XYZxyz(5.3935, 3.8590, 2.6509)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A282A #285A58
analogous
#5A2843 #5A282A #5A3F28
triadic
#5A282A #2A5A28 #282A5A
tetradic
#5A282A #435A28 #285A58 #3F285A
square
#5A282A #435A28 #285A58 #3F285A
split-complementary
#5A282A #285A3F #28435A
monochromatic
#15090A #301516 #5A282A #843B3E #AF4E52

Accessibility & contrast

On white

11.85
#5A282A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A282A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A282A#FFFFFF#000000##FFFFFF
##5A282A1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312A
Deuteranopia (green-blind)
#403B29
Tritanopia (blue-blind)
#622129
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5a282a;
/* rgb */ color: rgb(90, 40, 42);
/* oklch */ color: oklch(34.7% 0.074 19.2);
Tailwind
colors: {
  custom: {
    50: '#8c6363',
    500: '#5a282a',
    950: '#000000',
  },
}
SCSS
$custom: #5a282a;
$custom-light: #8c6363;
$custom-dark: #000000;
JSON
{
  "hex": "#5a282a",
  "rgb": {
    "r": 90,
    "g": 40,
    "b": 42
  },
  "hsl": {
    "h": 357.6,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34684,
    "c": 0.07368,
    "h": 19.2
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#5A282A
secondary
#518D8A
accent
#CECA59
background
#F8F6F5
surface
#F0EBEA
border
#CBC6C6
text
#0C0505
muted
#7D7A79

Preview Lab

Preview with #5A282A

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

Preview Lab → · Contrast checker → · Palette generator →

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