#7C4042#7C4042

#7C4042 is a dark, moderate red. Relative luminance 0.083; OKLCH L 44.7% C 0.083 H 18.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7C4042
RGBrgb(124, 64, 66)
HSLhsl(358, 32%, 37%)
HSVhsv(358, 48%, 49%)
CMYKcmyk(0%, 48.4%, 46.8%, 51.4%)
CIE-LABlab(34.69, 26.11, 10.55)
CIE-LCHlch(34.69, 28.16, 22.00°)
OKLaboklab(44.7% 0.0787 0.0269)
OKLCHoklch(44.7% 0.083 18.9)
XYZxyz(11.1296, 8.3463, 6.1781)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4042 #407C7A
analogous
#7C4060 #7C4042 #7C5C40
triadic
#7C4042 #427C40 #40427C
tetradic
#7C4042 #607C40 #407C7A #5C407C
square
#7C4042 #607C40 #407C7A #5C407C
split-complementary
#7C4042 #407C5C #40607C
monochromatic
#2B1617 #542B2D #7C4042 #A45557 #BB7B7D

Accessibility & contrast

On white

7.87
#7C4042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7C4042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C4042
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4042#FFFFFF#000000##FFFFFF
##7C40421.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A42
Deuteranopia (green-blind)
#5B5641
Tritanopia (blue-blind)
#863841
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c4042;
/* rgb */ color: rgb(124, 64, 66);
/* oklch */ color: oklch(44.7% 0.083 18.9);
Tailwind
colors: {
  custom: {
    50: '#a57676',
    500: '#7c4042',
    950: '#000000',
  },
}
SCSS
$custom: #7c4042;
$custom-light: #a57676;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4042",
  "rgb": {
    "r": 124,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 358,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44703,
    "c": 0.08313,
    "h": 18.9
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#7C4042
secondary
#72A6A4
accent
#C8C560
background
#FAF7F7
surface
#F4EDED
border
#CEC8C8
text
#100808
muted
#7F7B7B

Preview Lab

Preview with #7C4042

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

Preview Lab → · Contrast checker → · Palette generator →

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