#7E404B#7E404B

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

Color values

HEX#7E404B
RGBrgb(126, 64, 75)
HSLhsl(349, 33%, 37%)
HSVhsv(349, 49%, 49%)
CMYKcmyk(0%, 49.2%, 40.5%, 50.6%)
CIE-LABlab(35.23, 27.98, 5.61)
CIE-LCHlch(35.23, 28.54, 11.34°)
OKLaboklab(45.24% 0.0849 0.0148)
OKLCHoklch(45.24% 0.086 9.9)
XYZxyz(11.7082, 8.6115, 7.7008)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E404B #407E73
analogous
#7E406A #7E404B #7E5440
triadic
#7E404B #4B7E40 #404B7E
tetradic
#7E404B #6A7E40 #407E73 #54407E
square
#7E404B #6A7E40 #407E73 #54407E
split-complementary
#7E404B #407E54 #406A7E
monochromatic
#2D171B #552B33 #7E404B #A75563 #BC7C87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E404B#FFFFFF#000000##FFFFFF
##7E404B1.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)
#4C4B4B
Deuteranopia (green-blind)
#5B574A
Tritanopia (blue-blind)
#883A44
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e404b;
/* rgb */ color: rgb(126, 64, 75);
/* oklch */ color: oklch(45.2% 0.086 9.9);
Tailwind
colors: {
  custom: {
    50: '#a6767d',
    500: '#7e404b',
    950: '#000000',
  },
}
SCSS
$custom: #7e404b;
$custom-light: #a6767d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e404b",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 75
  },
  "hsl": {
    "h": 349.355,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45244,
    "c": 0.08615,
    "h": 9.9
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#7E404B
secondary
#73A79E
accent
#C9B65F
background
#FAF7F7
surface
#F4EDEE
border
#CEC8C9
text
#100809
muted
#7F7B7B

Preview Lab

Preview with #7E404B

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

Preview Lab → · Contrast checker → · Palette generator →

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