#804C4E#804C4E

#804C4E is a mid, moderate red. Relative luminance 0.103; OKLCH L 47.7% C 0.071 H 17.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#804C4E
RGBrgb(128, 76, 78)
HSLhsl(358, 25%, 40%)
HSVhsv(358, 41%, 50%)
CMYKcmyk(0%, 40.6%, 39.1%, 49.8%)
CIE-LABlab(38.39, 22.25, 8.24)
CIE-LCHlch(38.39, 23.73, 20.32°)
OKLaboklab(47.74% 0.0674 0.0214)
OKLCHoklch(47.74% 0.071 17.6)
XYZxyz(12.8622, 10.3092, 8.5187)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804C4E #4C807E
analogous
#804C68 #804C4E #80644C
triadic
#804C4E #4E804C #4C4E80
tetradic
#804C4E #68804C #4C807E #644C80
square
#804C4E #68804C #4C807E #644C80
split-complementary
#804C4E #4C8064 #4C6880
monochromatic
#331E1F #5A3537 #804C4E #A46568 #BB8C8E

Accessibility & contrast

On white

6.86
#804C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#804C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804C4E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804C4E#FFFFFF#000000##FFFFFF
##804C4E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544E
Deuteranopia (green-blind)
#635E4D
Tritanopia (blue-blind)
#89464D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #804c4e;
/* rgb */ color: rgb(128, 76, 78);
/* oklch */ color: oklch(47.7% 0.071 17.6);
Tailwind
colors: {
  custom: {
    50: '#a77f7f',
    500: '#804c4e',
    950: '#000000',
  },
}
SCSS
$custom: #804c4e;
$custom-light: #a77f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#804c4e",
  "rgb": {
    "r": 128,
    "g": 76,
    "b": 78
  },
  "hsl": {
    "h": 357.692,
    "s": 25.49,
    "l": 40
  },
  "oklch": {
    "l": 0.47741,
    "c": 0.0707,
    "h": 17.6
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#804C4E
secondary
#81A7A6
accent
#C2BE66
background
#FAF7F7
surface
#F4EEEE
border
#CEC9C9
text
#100A0A
muted
#7F7C7C

Preview Lab

Preview with #804C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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