#804E40#804E40

#804E40 is a mid, moderate red. Relative luminance 0.104; OKLCH L 47.8% C 0.072 H 36.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#804E40
RGBrgb(128, 78, 64)
HSLhsl(13, 33%, 38%)
HSVhsv(13, 50%, 50%)
CMYKcmyk(0%, 39.1%, 50%, 49.8%)
CIE-LABlab(38.57, 19.42, 17.15)
CIE-LCHlch(38.57, 25.91, 41.44°)
OKLaboklab(47.77% 0.0577 0.0426)
OKLCHoklch(47.77% 0.072 36.4)
XYZxyz(12.5526, 10.4092, 6.1976)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804E40 #407280
analogous
#804052 #804E40 #806E40
triadic
#804E40 #40804E #4E4080
tetradic
#804E40 #528040 #407280 #6E4080
square
#804E40 #528040 #407280 #6E4080
split-complementary
#804E40 #40806E #405280
monochromatic
#2E1C17 #57352C #804E40 #A96754 #BE8B7D

Accessibility & contrast

On white

6.81
#804E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#804E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804E40
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804E40#FFFFFF#000000##FFFFFF
##804E401.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A543F
Deuteranopia (green-blind)
#665F3F
Tritanopia (blue-blind)
#8A464A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #804e40;
/* rgb */ color: rgb(128, 78, 64);
/* oklch */ color: oklch(47.8% 0.072 36.4);
Tailwind
colors: {
  custom: {
    50: '#a78075',
    500: '#804e40',
    950: '#000000',
  },
}
SCSS
$custom: #804e40;
$custom-light: #a78075;
$custom-dark: #000000;
JSON
{
  "hex": "#804e40",
  "rgb": {
    "r": 128,
    "g": 78,
    "b": 64
  },
  "hsl": {
    "h": 13.125,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47773,
    "c": 0.0717,
    "h": 36.4
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#804E40
secondary
#749DA8
accent
#B2C95E
background
#FAF7F7
surface
#F4EEED
border
#CEC9C8
text
#100A08
muted
#7F7C7B

Preview Lab

Preview with #804E40

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

Preview Lab → · Contrast checker → · Palette generator →

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