#524040#524040

#524040 is a dark, muted red. Relative luminance 0.058; OKLCH L 39.1% C 0.025 H 18.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#524040
RGBrgb(82, 64, 64)
HSLhsl(0, 12%, 29%)
HSVhsv(0, 22%, 32%)
CMYKcmyk(0%, 22%, 22%, 67.8%)
CIE-LABlab(28.98, 7.80, 2.97)
CIE-LCHlch(28.98, 8.35, 20.86°)
OKLaboklab(39.07% 0.0239 0.0079)
OKLCHoklch(39.07% 0.025 18.3)
XYZxyz(6.2385, 5.8310, 5.6464)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524040 #405252
analogous
#524049 #524040 #524940
triadic
#524040 #405240 #404052
tetradic
#524040 #495240 #405252 #494052
square
#524040 #495240 #405252 #494052
split-complementary
#524040 #405249 #404952
monochromatic
#110D0D #302525 #524040 #745B5B #957777

Accessibility & contrast

On white

9.69
#524040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#524040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524040
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524040#FFFFFF#000000##FFFFFF
##5240401.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434240
Deuteranopia (green-blind)
#474640
Tritanopia (blue-blind)
#563E40
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #524040;
/* rgb */ color: rgb(82, 64, 64);
/* oklch */ color: oklch(39.1% 0.025 18.3);
Tailwind
colors: {
  custom: {
    50: '#837474',
    500: '#524040',
    950: '#000000',
  },
}
SCSS
$custom: #524040;
$custom-light: #837474;
$custom-dark: #000000;
JSON
{
  "hex": "#524040",
  "rgb": {
    "r": 82,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39074,
    "c": 0.02513,
    "h": 18.3
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#524040
secondary
#6D8181
accent
#B5B573
background
#F8F7F7
surface
#EFEDED
border
#CAC8C8
text
#0A0808
muted
#7C7B7B

Preview Lab

Preview with #524040

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

Preview Lab → · Contrast checker → · Palette generator →

#524040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva