#504142#504142

#504142 is a dark, muted red. Relative luminance 0.059; OKLCH L 39.1% C 0.021 H 13.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#504142
RGBrgb(80, 65, 66)
HSLhsl(356, 10%, 28%)
HSVhsv(356, 19%, 31%)
CMYKcmyk(0%, 18.8%, 17.5%, 68.6%)
CIE-LABlab(29.11, 6.65, 1.82)
CIE-LCHlch(29.11, 6.90, 15.32°)
OKLaboklab(39.14% 0.0203 0.0049)
OKLCHoklch(39.14% 0.021 13.5)
XYZxyz(6.1819, 5.8796, 5.9624)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504142 #41504F
analogous
#504149 #504142 #504741
triadic
#504142 #425041 #414250
tetradic
#504142 #495041 #41504F #474150
square
#504142 #495041 #41504F #474150
split-complementary
#504142 #415047 #414950
monochromatic
#110E0E #2E2626 #504142 #725C5E #92797B

Accessibility & contrast

On white

9.65
#504142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#504142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504142
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504142#FFFFFF#000000##FFFFFF
##5041421.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434342
Deuteranopia (green-blind)
#474642
Tritanopia (blue-blind)
#534041
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #504142;
/* rgb */ color: rgb(80, 65, 66);
/* oklch */ color: oklch(39.1% 0.021 13.5);
Tailwind
colors: {
  custom: {
    50: '#817576',
    500: '#504142',
    950: '#000000',
  },
}
SCSS
$custom: #504142;
$custom-light: #817576;
$custom-dark: #000000;
JSON
{
  "hex": "#504142",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 66
  },
  "hsl": {
    "h": 356,
    "s": 10.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39138,
    "c": 0.02084,
    "h": 13.5
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#504142
secondary
#6E7F7E
accent
#B3AF75
background
#F7F7F7
surface
#EEEDED
border
#C9C8C8
text
#0A0808
muted
#7C7B7B

Preview Lab

Preview with #504142

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

Preview Lab → · Contrast checker → · Palette generator →

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