#804A40#804A40

#804A40 is a mid, moderate red. Relative luminance 0.099; OKLCH L 47.0% C 0.076 H 31.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#804A40
RGBrgb(128, 74, 64)
HSLhsl(9, 33%, 38%)
HSVhsv(9, 50%, 50%)
CMYKcmyk(0%, 42.2%, 50%, 49.8%)
CIE-LABlab(37.59, 21.77, 15.84)
CIE-LCHlch(37.59, 26.92, 36.03°)
OKLaboklab(47.02% 0.0649 0.0395)
OKLCHoklch(47.02% 0.076 31.3)
XYZxyz(12.2770, 9.8580, 6.1057)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804A40 #407680
analogous
#804056 #804A40 #806A40
triadic
#804A40 #40804A #4A4080
tetradic
#804A40 #568040 #407680 #6A4080
square
#804A40 #568040 #407680 #6A4080
split-complementary
#804A40 #40806A #405680
monochromatic
#2E1B17 #57322C #804A40 #A96254 #BE877D

Accessibility & contrast

On white

7.07
#804A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#804A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804A40
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804A40#FFFFFF#000000##FFFFFF
##804A401.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57523F
Deuteranopia (green-blind)
#645D3F
Tritanopia (blue-blind)
#8B4248
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #804a40;
/* rgb */ color: rgb(128, 74, 64);
/* oklch */ color: oklch(47.0% 0.076 31.3);
Tailwind
colors: {
  custom: {
    50: '#a87d74',
    500: '#804a40',
    950: '#000000',
  },
}
SCSS
$custom: #804a40;
$custom-light: #a87d74;
$custom-dark: #000000;
JSON
{
  "hex": "#804a40",
  "rgb": {
    "r": 128,
    "g": 74,
    "b": 64
  },
  "hsl": {
    "h": 9.375,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47019,
    "c": 0.07594,
    "h": 31.3
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#804A40
secondary
#74A0A8
accent
#B9C95E
background
#FAF7F7
surface
#F4EEED
border
#CEC9C8
text
#100908
muted
#7F7B7B

Preview Lab

Preview with #804A40

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

Preview Lab → · Contrast checker → · Palette generator →

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