#7E4E76#7E4E76

#7E4E76 is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.3% C 0.086 H 333.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7E4E76
RGBrgb(126, 78, 118)
HSLhsl(310, 24%, 40%)
HSVhsv(310, 38%, 49%)
CMYKcmyk(0%, 38.1%, 6.3%, 50.6%)
CIE-LABlab(39.90, 26.80, -14.44)
CIE-LCHlch(39.90, 30.45, 331.68°)
OKLaboklab(49.26% 0.0764 -0.0389)
OKLCHoklch(49.26% 0.086 333)
XYZxyz(14.5985, 11.1931, 18.5276)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E76 #4E7E56
analogous
#6E4E7E #7E4E76 #7E4E5E
triadic
#7E4E76 #767E4E #4E767E
tetradic
#7E4E76 #7E6E4E #4E7E56 #4E5E7E
square
#7E4E76 #7E6E4E #4E7E56 #4E5E7E
split-complementary
#7E4E76 #5E7E4E #4E7E6E
monochromatic
#321F2F #583753 #7E4E76 #A16898 #B98EB2

Accessibility & contrast

On white

6.48
#7E4E76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7E4E76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4E76
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E76#FFFFFF#000000##FFFFFF
##7E4E761.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5A77
Deuteranopia (green-blind)
#596175
Tritanopia (blue-blind)
#82515D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e4e76;
/* rgb */ color: rgb(126, 78, 118);
/* oklch */ color: oklch(49.3% 0.086 333.0);
Tailwind
colors: {
  custom: {
    50: '#a4809d',
    500: '#7e4e76',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e76;
$custom-light: #a4809d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e76",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 118
  },
  "hsl": {
    "h": 310,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.49261,
    "c": 0.08572,
    "h": 333
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#7E4E76
secondary
#82A688
accent
#C07768
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7E4E76

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

Preview Lab → · Contrast checker → · Palette generator →

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