#7A4F72#7A4F72

#7A4F72 is a mid, moderate pink. Relative luminance 0.109; OKLCH L 48.8% C 0.076 H 333.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7A4F72
RGBrgb(122, 79, 114)
HSLhsl(311, 21%, 39%)
HSVhsv(311, 35%, 48%)
CMYKcmyk(0%, 35.2%, 6.6%, 52.2%)
CIE-LABlab(39.49, 24.00, -12.65)
CIE-LCHlch(39.49, 27.13, 332.20°)
OKLaboklab(48.79% 0.0684 -0.034)
OKLCHoklch(48.79% 0.076 333.6)
XYZxyz(13.8591, 10.9451, 17.2989)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4F72 #4F7A57
analogous
#6D4F7A #7A4F72 #7A4F5D
triadic
#7A4F72 #727A4F #4F727A
tetradic
#7A4F72 #7A6D4F #4F7A57 #4F5D7A
square
#7A4F72 #7A6D4F #4F7A57 #4F5D7A
split-complementary
#7A4F72 #5D7A4F #4F7A6D
monochromatic
#301F2D #55374F #7A4F72 #9E6994 #B68EAE

Accessibility & contrast

On white

6.59
#7A4F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7A4F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4F72
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4F72#FFFFFF#000000##FFFFFF
##7A4F721.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5973
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#7E515C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a4f72;
/* rgb */ color: rgb(122, 79, 114);
/* oklch */ color: oklch(48.8% 0.076 333.6);
Tailwind
colors: {
  custom: {
    50: '#a1819a',
    500: '#7a4f72',
    950: '#000000',
  },
}
SCSS
$custom: #7a4f72;
$custom-light: #a1819a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4f72",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 114
  },
  "hsl": {
    "h": 311.163,
    "s": 21.393,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48785,
    "c": 0.07642,
    "h": 333.6
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#7A4F72
secondary
#82A388
accent
#BE7A6A
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7A4F72

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

Preview Lab → · Contrast checker → · Palette generator →

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