#7C404C#7C404C

#7C404C is a dark, moderate red. Relative luminance 0.085; OKLCH L 45.0% C 0.084 H 8.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7C404C
RGBrgb(124, 64, 76)
HSLhsl(348, 32%, 37%)
HSVhsv(348, 48%, 49%)
CMYKcmyk(0%, 48.4%, 38.7%, 51.4%)
CIE-LABlab(34.95, 27.32, 4.54)
CIE-LCHlch(34.95, 27.70, 9.44°)
OKLaboklab(44.98% 0.0829 0.0121)
OKLCHoklch(44.98% 0.084 8.3)
XYZxyz(11.4506, 8.4747, 7.8688)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C404C #407C70
analogous
#7C406A #7C404C #7C5240
triadic
#7C404C #4C7C40 #404C7C
tetradic
#7C404C #6A7C40 #407C70 #52407C
square
#7C404C #6A7C40 #407C70 #52407C
split-complementary
#7C404C #407C52 #406A7C
monochromatic
#2B161B #542B33 #7C404C #A45565 #BB7B88

Accessibility & contrast

On white

7.79
#7C404C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7C404C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C404C
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C404C#FFFFFF#000000##FFFFFF
##7C404C1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4B4C
Deuteranopia (green-blind)
#5A574B
Tritanopia (blue-blind)
#853A44
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c404c;
/* rgb */ color: rgb(124, 64, 76);
/* oklch */ color: oklch(45.0% 0.084 8.3);
Tailwind
colors: {
  custom: {
    50: '#a4767d',
    500: '#7c404c',
    950: '#000000',
  },
}
SCSS
$custom: #7c404c;
$custom-light: #a4767d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c404c",
  "rgb": {
    "r": 124,
    "g": 64,
    "b": 76
  },
  "hsl": {
    "h": 348,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44984,
    "c": 0.08378,
    "h": 8.3
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#7C404C
secondary
#72A69B
accent
#C8B360
background
#FAF7F7
surface
#F4EDEE
border
#CEC8C9
text
#0F0809
muted
#7F7B7B

Preview Lab

Preview with #7C404C

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

Preview Lab → · Contrast checker → · Palette generator →

#7C404C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva