#7A4871#7A4871

#7A4871 is a mid, moderate pink. Relative luminance 0.100; OKLCH L 47.5% C 0.089 H 333.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7A4871
RGBrgb(122, 72, 113)
HSLhsl(311, 26%, 38%)
HSVhsv(311, 41%, 48%)
CMYKcmyk(0%, 41%, 7.4%, 52.2%)
CIE-LABlab(37.78, 27.93, -14.63)
CIE-LCHlch(37.78, 31.53, 332.35°)
OKLaboklab(47.48% 0.0799 -0.0394)
OKLCHoklch(47.48% 0.089 333.7)
XYZxyz(13.3240, 9.9653, 16.8413)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4871 #487A51
analogous
#6A487A #7A4871 #7A4858
triadic
#7A4871 #717A48 #48717A
tetradic
#7A4871 #7A6A48 #487A51 #48587A
square
#7A4871 #7A6A48 #487A51 #48587A
split-complementary
#7A4871 #587A48 #487A6A
monochromatic
#2D1B2A #54314D #7A4871 #A05F95 #B785AE

Accessibility & contrast

On white

7.02
#7A4871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7A4871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A4871
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4871#FFFFFF#000000##FFFFFF
##7A48711.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485472
Deuteranopia (green-blind)
#545C6F
Tritanopia (blue-blind)
#7E4B57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a4871;
/* rgb */ color: rgb(122, 72, 113);
/* oklch */ color: oklch(47.5% 0.089 333.7);
Tailwind
colors: {
  custom: {
    50: '#a17c9a',
    500: '#7a4871',
    950: '#000000',
  },
}
SCSS
$custom: #7a4871;
$custom-light: #a17c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4871",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 310.8,
    "s": 25.773,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4748,
    "c": 0.08912,
    "h": 333.7
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#7A4871
secondary
#7BA382
accent
#C27666
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7A4871

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

Preview Lab → · Contrast checker → · Palette generator →

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