#7A4B71#7A4B71

#7A4B71 is a mid, moderate pink. Relative luminance 0.104; OKLCH L 48.0% C 0.083 H 334.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7A4B71
RGBrgb(122, 75, 113)
HSLhsl(311, 24%, 39%)
HSVhsv(311, 39%, 48%)
CMYKcmyk(0%, 38.5%, 7.4%, 52.2%)
CIE-LABlab(38.49, 26.17, -13.56)
CIE-LCHlch(38.49, 29.47, 332.61°)
OKLaboklab(48.01% 0.0749 -0.0365)
OKLCHoklch(48.01% 0.083 334)
XYZxyz(13.5226, 10.3627, 16.9075)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4B71 #4B7A54
analogous
#6B4B7A #7A4B71 #7A4B59
triadic
#7A4B71 #717A4B #4B717A
tetradic
#7A4B71 #7A6B4B #4B7A54 #4B597A
square
#7A4B71 #7A6B4B #4B7A54 #4B597A
split-complementary
#7A4B71 #597A4B #4B7A6B
monochromatic
#2E1C2B #54344E #7A4B71 #9F6394 #B689AE

Accessibility & contrast

On white

6.84
#7A4B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7A4B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4B71
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4B71#FFFFFF#000000##FFFFFF
##7A4B711.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5672
Deuteranopia (green-blind)
#575D70
Tritanopia (blue-blind)
#7E4D59
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a4b71;
/* rgb */ color: rgb(122, 75, 113);
/* oklch */ color: oklch(48.0% 0.083 334.0);
Tailwind
colors: {
  custom: {
    50: '#a17e9a',
    500: '#7a4b71',
    950: '#000000',
  },
}
SCSS
$custom: #7a4b71;
$custom-light: #a17e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4b71",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 113
  },
  "hsl": {
    "h": 311.489,
    "s": 23.858,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48013,
    "c": 0.08329,
    "h": 334
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#7A4B71
secondary
#7EA385
accent
#C07867
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7A4B71

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

Preview Lab → · Contrast checker → · Palette generator →

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