#804D40#804D40

#804D40 is a mid, moderate red. Relative luminance 0.103; OKLCH L 47.6% C 0.073 H 35.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#804D40
RGBrgb(128, 77, 64)
HSLhsl(12, 33%, 38%)
HSVhsv(12, 50%, 50%)
CMYKcmyk(0%, 39.8%, 50%, 49.8%)
CIE-LABlab(38.32, 20.01, 16.82)
CIE-LCHlch(38.32, 26.14, 40.04°)
OKLaboklab(47.58% 0.0595 0.0418)
OKLCHoklch(47.58% 0.073 35.1)
XYZxyz(12.4821, 10.2682, 6.1741)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804D40 #407380
analogous
#804053 #804D40 #806D40
triadic
#804D40 #40804D #4D4080
tetradic
#804D40 #538040 #407380 #6D4080
square
#804D40 #538040 #407380 #6D4080
split-complementary
#804D40 #40806D #405380
monochromatic
#2E1C17 #57342C #804D40 #A96654 #BE8A7D

Accessibility & contrast

On white

6.88
#804D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#804D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804D40
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804D40#FFFFFF#000000##FFFFFF
##804D401.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59543F
Deuteranopia (green-blind)
#655E3F
Tritanopia (blue-blind)
#8A454A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #804d40;
/* rgb */ color: rgb(128, 77, 64);
/* oklch */ color: oklch(47.6% 0.073 35.1);
Tailwind
colors: {
  custom: {
    50: '#a77f75',
    500: '#804d40',
    950: '#000000',
  },
}
SCSS
$custom: #804d40;
$custom-light: #a77f75;
$custom-dark: #000000;
JSON
{
  "hex": "#804d40",
  "rgb": {
    "r": 128,
    "g": 77,
    "b": 64
  },
  "hsl": {
    "h": 12.187,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47582,
    "c": 0.07271,
    "h": 35.1
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#804D40
secondary
#749EA8
accent
#B4C95E
background
#FAF7F7
surface
#F4EEED
border
#CEC9C8
text
#100A08
muted
#7F7C7B

Preview Lab

Preview with #804D40

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

Preview Lab → · Contrast checker → · Palette generator →

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