#7E4E73#7E4E73

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

Color values

HEX#7E4E73
RGBrgb(126, 78, 115)
HSLhsl(314, 24%, 40%)
HSVhsv(314, 38%, 49%)
CMYKcmyk(0%, 38.1%, 8.7%, 50.6%)
CIE-LABlab(39.79, 26.23, -12.77)
CIE-LCHlch(39.79, 29.17, 334.04°)
OKLaboklab(49.13% 0.0755 -0.0342)
OKLCHoklch(49.13% 0.083 335.6)
XYZxyz(14.4230, 11.1229, 17.6036)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E73 #4E7E59
analogous
#714E7E #7E4E73 #7E4E5B
triadic
#7E4E73 #737E4E #4E737E
tetradic
#7E4E73 #7E714E #4E7E59 #4E5B7E
square
#7E4E73 #7E714E #4E7E59 #4E5B7E
split-complementary
#7E4E73 #5B7E4E #4E7E71
monochromatic
#321F2E #583750 #7E4E73 #A16894 #B98EAF

Accessibility & contrast

On white

6.51
#7E4E73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E4E73
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E73#FFFFFF#000000##FFFFFF
##7E4E731.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e4e73;
/* rgb */ color: rgb(126, 78, 115);
/* oklch */ color: oklch(49.1% 0.083 335.6);
Tailwind
colors: {
  custom: {
    50: '#a4809b',
    500: '#7e4e73',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e73;
$custom-light: #a4809b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e73",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 115
  },
  "hsl": {
    "h": 313.75,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.49134,
    "c": 0.08287,
    "h": 335.6
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#7E4E73
secondary
#82A68A
accent
#C07C68
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7E4E73

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

Preview Lab → · Contrast checker → · Palette generator →

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