#7E404D#7E404D

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

Color values

HEX#7E404D
RGBrgb(126, 64, 77)
HSLhsl(347, 33%, 37%)
HSVhsv(347, 49%, 49%)
CMYKcmyk(0%, 49.2%, 38.9%, 50.6%)
CIE-LABlab(35.28, 28.24, 4.41)
CIE-LCHlch(35.28, 28.58, 8.88°)
OKLaboklab(45.3% 0.0857 0.0117)
OKLCHoklch(45.3% 0.087 7.8)
XYZxyz(11.7777, 8.6393, 8.0670)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E404D #407E71
analogous
#7E406C #7E404D #7E5240
triadic
#7E404D #4D7E40 #404D7E
tetradic
#7E404D #6C7E40 #407E71 #52407E
square
#7E404D #6C7E40 #407E71 #52407E
split-complementary
#7E404D #407E52 #406C7E
monochromatic
#2D171B #552B34 #7E404D #A75566 #BC7C89

Accessibility & contrast

On white

7.70
#7E404D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7E404D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E404D
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E404D#FFFFFF#000000##FFFFFF
##7E404D1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C4D
Deuteranopia (green-blind)
#5B574C
Tritanopia (blue-blind)
#883A45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e404d;
/* rgb */ color: rgb(126, 64, 77);
/* oklch */ color: oklch(45.3% 0.087 7.8);
Tailwind
colors: {
  custom: {
    50: '#a6767e',
    500: '#7e404d',
    950: '#000000',
  },
}
SCSS
$custom: #7e404d;
$custom-light: #a6767e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e404d",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 77
  },
  "hsl": {
    "h": 347.419,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45304,
    "c": 0.08651,
    "h": 7.8
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#7E404D
secondary
#73A79C
accent
#C9B35F
background
#FAF7F7
surface
#F4EDEE
border
#CEC8C9
text
#10090A
muted
#7F7B7C

Preview Lab

Preview with #7E404D

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

Preview Lab → · Contrast checker → · Palette generator →

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