#4E4040#4E4040

#4E4040 is a dark, near-neutral red. Relative luminance 0.057; OKLCH L 38.6% C 0.019 H 18.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4E4040
RGBrgb(78, 64, 64)
HSLhsl(0, 10%, 28%)
HSVhsv(0, 18%, 31%)
CMYKcmyk(0%, 17.9%, 17.9%, 69.4%)
CIE-LABlab(28.53, 6.04, 2.26)
CIE-LCHlch(28.53, 6.45, 20.53°)
OKLaboklab(38.62% 0.0185 0.006)
OKLCHoklch(38.62% 0.019 18)
XYZxyz(5.9007, 5.6568, 5.6305)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4040 #404E4E
analogous
#4E4047 #4E4040 #4E4740
triadic
#4E4040 #404E40 #40404E
tetradic
#4E4040 #474E40 #404E4E #47404E
square
#4E4040 #474E40 #404E4E #47404E
split-complementary
#4E4040 #404E47 #40474E
monochromatic
#110E0E #2C2424 #4E4040 #705C5C #907878

Accessibility & contrast

On white

9.85
#4E4040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E4040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4040
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4040#FFFFFF#000000##FFFFFF
##4E40401.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424240
Deuteranopia (green-blind)
#464440
Tritanopia (blue-blind)
#513F40
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e4040;
/* rgb */ color: rgb(78, 64, 64);
/* oklch */ color: oklch(38.6% 0.019 18.0);
Tailwind
colors: {
  custom: {
    50: '#7f7474',
    500: '#4e4040',
    950: '#000000',
  },
}
SCSS
$custom: #4e4040;
$custom-light: #7f7474;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4040",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 9.859,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.01946,
    "h": 18
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#4E4040
secondary
#6D7D7D
accent
#B3B375
background
#F7F7F7
surface
#EEEDED
border
#C9C8C8
text
#0A0808
muted
#7C7B7B

Preview Lab

Preview with #4E4040

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

Preview Lab → · Contrast checker → · Palette generator →

#4E4040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva