#7A4C71#7A4C71

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

Color values

HEX#7A4C71
RGBrgb(122, 76, 113)
HSLhsl(312, 23%, 39%)
HSVhsv(312, 38%, 48%)
CMYKcmyk(0%, 37.7%, 7.4%, 52.2%)
CIE-LABlab(38.72, 25.58, -13.19)
CIE-LCHlch(38.72, 28.78, 332.72°)
OKLaboklab(48.19% 0.0732 -0.0355)
OKLCHoklch(48.19% 0.081 334.1)
XYZxyz(13.5910, 10.4994, 16.9303)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4C71 #4C7A55
analogous
#6C4C7A #7A4C71 #7A4C5A
triadic
#7A4C71 #717A4C #4C717A
tetradic
#7A4C71 #7A6C4C #4C7A55 #4C5A7A
square
#7A4C71 #7A6C4C #4C7A55 #4C5A7A
split-complementary
#7A4C71 #5A7A4C #4C7A6C
monochromatic
#2F1D2B #54354E #7A4C71 #9F6493 #B68AAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A4C71#FFFFFF#000000##FFFFFF
##7A4C711.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)
#4C5772
Deuteranopia (green-blind)
#575E70
Tritanopia (blue-blind)
#7E4E5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a4c71;
/* rgb */ color: rgb(122, 76, 113);
/* oklch */ color: oklch(48.2% 0.081 334.1);
Tailwind
colors: {
  custom: {
    50: '#a17f99',
    500: '#7a4c71',
    950: '#000000',
  },
}
SCSS
$custom: #7a4c71;
$custom-light: #a17f99;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4c71",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 113
  },
  "hsl": {
    "h": 311.739,
    "s": 23.232,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48193,
    "c": 0.08134,
    "h": 334.1
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#7A4C71
secondary
#7FA386
accent
#C07968
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7A4C71

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

Preview Lab → · Contrast checker → · Palette generator →

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