#7B4C71#7B4C71

#7B4C71 is a mid, moderate pink. Relative luminance 0.106; OKLCH L 48.3% C 0.082 H 334.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7B4C71
RGBrgb(123, 76, 113)
HSLhsl(313, 24%, 39%)
HSVhsv(313, 38%, 48%)
CMYKcmyk(0%, 38.2%, 8.1%, 51.8%)
CIE-LABlab(38.85, 25.94, -12.99)
CIE-LCHlch(38.85, 29.01, 333.40°)
OKLaboklab(48.32% 0.0745 -0.0349)
OKLCHoklch(48.32% 0.082 334.9)
XYZxyz(13.7334, 10.5728, 16.9369)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4C71 #4C7B56
analogous
#6E4C7B #7B4C71 #7B4C5A
triadic
#7B4C71 #717B4C #4C717B
tetradic
#7B4C71 #7B6E4C #4C7B56 #4C5A7B
square
#7B4C71 #7B6E4C #4C7B56 #4C5A7B
split-complementary
#7B4C71 #5A7B4C #4C7B6E
monochromatic
#2F1D2B #55354E #7B4C71 #A06593 #B78AAD

Accessibility & contrast

On white

6.74
#7B4C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7B4C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4C71
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4C71#FFFFFF#000000##FFFFFF
##7B4C711.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5772
Deuteranopia (green-blind)
#585E70
Tritanopia (blue-blind)
#7F4E5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b4c71;
/* rgb */ color: rgb(123, 76, 113);
/* oklch */ color: oklch(48.3% 0.082 334.9);
Tailwind
colors: {
  custom: {
    50: '#a27f99',
    500: '#7b4c71',
    950: '#000000',
  },
}
SCSS
$custom: #7b4c71;
$custom-light: #a27f99;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4c71",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 113
  },
  "hsl": {
    "h": 312.766,
    "s": 23.618,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48317,
    "c": 0.08222,
    "h": 334.9
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#7B4C71
secondary
#7FA487
accent
#C07B68
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7B4C71

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

Preview Lab → · Contrast checker → · Palette generator →

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