#7E4E72#7E4E72

#7E4E72 is a mid, moderate pink. Relative luminance 0.111; OKLCH L 49.1% C 0.082 H 336.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7E4E72
RGBrgb(126, 78, 114)
HSLhsl(315, 24%, 40%)
HSVhsv(315, 38%, 49%)
CMYKcmyk(0%, 38.1%, 9.5%, 50.6%)
CIE-LABlab(39.75, 26.04, -12.21)
CIE-LCHlch(39.75, 28.76, 334.88°)
OKLaboklab(49.09% 0.0752 -0.0327)
OKLCHoklch(49.09% 0.082 336.5)
XYZxyz(14.3658, 11.1000, 17.3022)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E72 #4E7E5A
analogous
#724E7E #7E4E72 #7E4E5A
triadic
#7E4E72 #727E4E #4E727E
tetradic
#7E4E72 #7E724E #4E7E5A #4E5A7E
square
#7E4E72 #7E724E #4E7E5A #4E5A7E
split-complementary
#7E4E72 #5A7E4E #4E7E72
monochromatic
#321F2E #583750 #7E4E72 #A16893 #B98EAE

Accessibility & contrast

On white

6.52
#7E4E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7E4E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4E72
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E72#FFFFFF#000000##FFFFFF
##7E4E721.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5973
Deuteranopia (green-blind)
#5B6071
Tritanopia (blue-blind)
#83505B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e4e72;
/* rgb */ color: rgb(126, 78, 114);
/* oklch */ color: oklch(49.1% 0.082 336.5);
Tailwind
colors: {
  custom: {
    50: '#a4809a',
    500: '#7e4e72',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e72;
$custom-light: #a4809a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e72",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 315,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.49093,
    "c": 0.08196,
    "h": 336.5
  },
  "luminance": 0.11099
}

Semantic roles & 50–950 ramp

primary
#7E4E72
secondary
#82A68B
accent
#C07E68
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7E4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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