#804D4E#804D4E

#804D4E is a mid, moderate red. Relative luminance 0.104; OKLCH L 47.9% C 0.069 H 18.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#804D4E
RGBrgb(128, 77, 78)
HSLhsl(359, 25%, 40%)
HSVhsv(359, 40%, 50%)
CMYKcmyk(0%, 39.8%, 39.1%, 49.8%)
CIE-LABlab(38.63, 21.67, 8.58)
CIE-LCHlch(38.63, 23.31, 21.60°)
OKLaboklab(47.93% 0.0656 0.0222)
OKLCHoklch(47.93% 0.069 18.7)
XYZxyz(12.9317, 10.4480, 8.5418)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804D4E #4D807F
analogous
#804D67 #804D4E #80664D
triadic
#804D4E #4E804D #4D4E80
tetradic
#804D4E #67804D #4D807F #664D80
square
#804D4E #67804D #4D807F #664D80
split-complementary
#804D4E #4D8066 #4D6780
monochromatic
#341F1F #5A3637 #804D4E #A36768 #BA8D8E

Accessibility & contrast

On white

6.80
#804D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#804D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804D4E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804D4E#FFFFFF#000000##FFFFFF
##804D4E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57554E
Deuteranopia (green-blind)
#635F4D
Tritanopia (blue-blind)
#89474E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #804d4e;
/* rgb */ color: rgb(128, 77, 78);
/* oklch */ color: oklch(47.9% 0.069 18.7);
Tailwind
colors: {
  custom: {
    50: '#a77f7f',
    500: '#804d4e',
    950: '#000000',
  },
}
SCSS
$custom: #804d4e;
$custom-light: #a77f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#804d4e",
  "rgb": {
    "r": 128,
    "g": 77,
    "b": 78
  },
  "hsl": {
    "h": 358.824,
    "s": 24.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47927,
    "c": 0.06926,
    "h": 18.7
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#804D4E
secondary
#82A7A6
accent
#C1C067
background
#FAF7F7
surface
#F4EEEE
border
#CEC9C9
text
#100A0A
muted
#7F7C7C

Preview Lab

Preview with #804D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#804D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva