#7A4E71#7A4E71

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

Color values

HEX#7A4E71
RGBrgb(122, 78, 113)
HSLhsl(312, 22%, 39%)
HSVhsv(312, 36%, 48%)
CMYKcmyk(0%, 36.1%, 7.4%, 52.2%)
CIE-LABlab(39.21, 24.40, -12.46)
CIE-LCHlch(39.21, 27.40, 332.94°)
OKLaboklab(48.56% 0.0698 -0.0334)
OKLCHoklch(48.56% 0.077 334.4)
XYZxyz(13.7309, 10.7792, 16.9769)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4E71 #4E7A57
analogous
#6D4E7A #7A4E71 #7A4E5B
triadic
#7A4E71 #717A4E #4E717A
tetradic
#7A4E71 #7A6D4E #4E7A57 #4E5B7A
square
#7A4E71 #7A6D4E #4E7A57 #4E5B7A
split-complementary
#7A4E71 #5B7A4E #4E7A6D
monochromatic
#2F1E2C #55364E #7A4E71 #9E6793 #B68DAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A4E71#FFFFFF#000000##FFFFFF
##7A4E711.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)
#4E5872
Deuteranopia (green-blind)
#595F70
Tritanopia (blue-blind)
#7E505B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a4e71;
/* rgb */ color: rgb(122, 78, 113);
/* oklch */ color: oklch(48.6% 0.077 334.4);
Tailwind
colors: {
  custom: {
    50: '#a18099',
    500: '#7a4e71',
    950: '#000000',
  },
}
SCSS
$custom: #7a4e71;
$custom-light: #a18099;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4e71",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 312.273,
    "s": 22,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48558,
    "c": 0.07742,
    "h": 334.4
  },
  "luminance": 0.10779
}

Semantic roles & 50–950 ramp

primary
#7A4E71
secondary
#81A388
accent
#BF7B69
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7A4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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