#7A4C72#7A4C72

#7A4C72 is a mid, moderate pink. Relative luminance 0.105; OKLCH L 48.2% C 0.082 H 333.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7A4C72
RGBrgb(122, 76, 114)
HSLhsl(310, 23%, 39%)
HSVhsv(310, 38%, 48%)
CMYKcmyk(0%, 37.7%, 6.6%, 52.2%)
CIE-LABlab(38.76, 25.77, -13.75)
CIE-LCHlch(38.76, 29.22, 331.91°)
OKLaboklab(48.24% 0.0735 -0.037)
OKLCHoklch(48.24% 0.082 333.3)
XYZxyz(13.6476, 10.5220, 17.2284)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4C72 #4C7A54
analogous
#6B4C7A #7A4C72 #7A4C5B
triadic
#7A4C72 #727A4C #4C727A
tetradic
#7A4C72 #7A6B4C #4C7A54 #4C5B7A
square
#7A4C72 #7A6B4C #4C7A54 #4C5B7A
split-complementary
#7A4C72 #5B7A4C #4C7A6B
monochromatic
#2F1D2C #54354F #7A4C72 #9F6495 #B68AAF

Accessibility & contrast

On white

6.77
#7A4C72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7A4C72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4C72
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4C72#FFFFFF#000000##FFFFFF
##7A4C721.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5773
Deuteranopia (green-blind)
#575E71
Tritanopia (blue-blind)
#7E4E5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a4c72;
/* rgb */ color: rgb(122, 76, 114);
/* oklch */ color: oklch(48.2% 0.082 333.3);
Tailwind
colors: {
  custom: {
    50: '#a17f9a',
    500: '#7a4c72',
    950: '#000000',
  },
}
SCSS
$custom: #7a4c72;
$custom-light: #a17f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4c72",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 114
  },
  "hsl": {
    "h": 310.435,
    "s": 23.232,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48236,
    "c": 0.0823,
    "h": 333.3
  },
  "luminance": 0.10521
}

Semantic roles & 50–950 ramp

primary
#7A4C72
secondary
#7FA385
accent
#C07768
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7A4C72

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

Preview Lab → · Contrast checker → · Palette generator →

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