#7E404C#7E404C

#7E404C is a mid, moderate red. Relative luminance 0.086; OKLCH L 45.3% C 0.086 H 8.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7E404C
RGBrgb(126, 64, 76)
HSLhsl(348, 33%, 37%)
HSVhsv(348, 49%, 49%)
CMYKcmyk(0%, 49.2%, 39.7%, 50.6%)
CIE-LABlab(35.25, 28.11, 5.01)
CIE-LCHlch(35.25, 28.55, 10.11°)
OKLaboklab(45.27% 0.0853 0.0133)
OKLCHoklch(45.27% 0.086 8.8)
XYZxyz(11.7427, 8.6253, 7.8825)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E404C #407E72
analogous
#7E406B #7E404C #7E5340
triadic
#7E404C #4C7E40 #404C7E
tetradic
#7E404C #6B7E40 #407E72 #53407E
square
#7E404C #6B7E40 #407E72 #53407E
split-complementary
#7E404C #407E53 #406B7E
monochromatic
#2D171B #552B34 #7E404C #A75564 #BC7C88

Accessibility & contrast

On white

7.71
#7E404C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7E404C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E404C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E404C#FFFFFF#000000##FFFFFF
##7E404C1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C4C
Deuteranopia (green-blind)
#5B574B
Tritanopia (blue-blind)
#883A44
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e404c;
/* rgb */ color: rgb(126, 64, 76);
/* oklch */ color: oklch(45.3% 0.086 8.8);
Tailwind
colors: {
  custom: {
    50: '#a6767d',
    500: '#7e404c',
    950: '#000000',
  },
}
SCSS
$custom: #7e404c;
$custom-light: #a6767d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e404c",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 76
  },
  "hsl": {
    "h": 348.387,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45274,
    "c": 0.08632,
    "h": 8.8
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#7E404C
secondary
#73A79D
accent
#C9B45F
background
#FAF7F7
surface
#F4EDEE
border
#CEC8C9
text
#100809
muted
#7F7B7B

Preview Lab

Preview with #7E404C

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

Preview Lab → · Contrast checker → · Palette generator →

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