#804D48#804D48

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

Color values

HEX#804D48
RGBrgb(128, 77, 72)
HSLhsl(5, 28%, 39%)
HSVhsv(5, 44%, 50%)
CMYKcmyk(0%, 39.8%, 43.8%, 49.8%)
CIE-LABlab(38.49, 20.92, 12.11)
CIE-LCHlch(38.49, 24.17, 30.07°)
OKLaboklab(47.77% 0.063 0.0308)
OKLCHoklch(47.77% 0.07 26)
XYZxyz(12.7263, 10.3659, 7.4602)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804D48 #487B80
analogous
#80485F #804D48 #806948
triadic
#804D48 #48804D #4D4880
tetradic
#804D48 #5F8048 #487B80 #694880
square
#804D48 #5F8048 #487B80 #694880
split-complementary
#804D48 #488069 #485F80
monochromatic
#321E1C #593532 #804D48 #A56660 #BB8C87

Accessibility & contrast

On white

6.83
#804D48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#804D48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804D48
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804D48#FFFFFF#000000##FFFFFF
##804D481.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585447
Deuteranopia (green-blind)
#645F47
Tritanopia (blue-blind)
#8A464C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #804d48;
/* rgb */ color: rgb(128, 77, 72);
/* oklch */ color: oklch(47.8% 0.070 26.0);
Tailwind
colors: {
  custom: {
    50: '#a77f7b',
    500: '#804d48',
    950: '#000000',
  },
}
SCSS
$custom: #804d48;
$custom-light: #a77f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#804d48",
  "rgb": {
    "r": 128,
    "g": 77,
    "b": 72
  },
  "hsl": {
    "h": 5.357,
    "s": 28,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4777,
    "c": 0.07013,
    "h": 26
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#804D48
secondary
#7DA3A7
accent
#BCC463
background
#FAF7F7
surface
#F4EEED
border
#CEC9C8
text
#100A09
muted
#7F7C7B

Preview Lab

Preview with #804D48

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

Preview Lab → · Contrast checker → · Palette generator →

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