#7A4E72#7A4E72

#7A4E72 is a mid, moderate pink. Relative luminance 0.108; OKLCH L 48.6% C 0.078 H 333.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7A4E72
RGBrgb(122, 78, 114)
HSLhsl(311, 22%, 39%)
HSVhsv(311, 36%, 48%)
CMYKcmyk(0%, 36.1%, 6.6%, 52.2%)
CIE-LABlab(39.24, 24.59, -13.02)
CIE-LCHlch(39.24, 27.83, 332.10°)
OKLaboklab(48.6% 0.0701 -0.035)
OKLCHoklch(48.6% 0.078 333.5)
XYZxyz(13.7876, 10.8019, 17.2751)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4E72 #4E7A56
analogous
#6C4E7A #7A4E72 #7A4E5C
triadic
#7A4E72 #727A4E #4E727A
tetradic
#7A4E72 #7A6C4E #4E7A56 #4E5C7A
square
#7A4E72 #7A6C4E #4E7A56 #4E5C7A
split-complementary
#7A4E72 #5C7A4E #4E7A6C
monochromatic
#2F1E2C #55364F #7A4E72 #9E6794 #B68DAE

Accessibility & contrast

On white

6.65
#7A4E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7A4E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4E72
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4E72#FFFFFF#000000##FFFFFF
##7A4E721.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5973
Deuteranopia (green-blind)
#585F71
Tritanopia (blue-blind)
#7E505B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a4e72;
/* rgb */ color: rgb(122, 78, 114);
/* oklch */ color: oklch(48.6% 0.078 333.5);
Tailwind
colors: {
  custom: {
    50: '#a1809a',
    500: '#7a4e72',
    950: '#000000',
  },
}
SCSS
$custom: #7a4e72;
$custom-light: #a1809a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4e72",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 310.909,
    "s": 22,
    "l": 39.216
  },
  "oklch": {
    "l": 0.486,
    "c": 0.07838,
    "h": 333.5
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#7A4E72
secondary
#81A387
accent
#BF7969
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7A4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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