#7F4E73#7F4E73

#7F4E73 is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.3% C 0.084 H 336.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7F4E73
RGBrgb(127, 78, 115)
HSLhsl(315, 24%, 40%)
HSVhsv(315, 39%, 50%)
CMYKcmyk(0%, 38.6%, 9.4%, 50.2%)
CIE-LABlab(39.91, 26.59, -12.56)
CIE-LCHlch(39.91, 29.41, 334.71°)
OKLaboklab(49.26% 0.0767 -0.0337)
OKLCHoklch(49.26% 0.084 336.3)
XYZxyz(14.5712, 11.1994, 17.6105)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4E73 #4E7F5A
analogous
#724E7F #7F4E73 #7F4E5A
triadic
#7F4E73 #737F4E #4E737F
tetradic
#7F4E73 #7F724E #4E7F5A #4E5A7F
square
#7F4E73 #7F724E #4E7F5A #4E5A7F
split-complementary
#7F4E73 #5A7F4E #4E7F72
monochromatic
#331F2E #593751 #7F4E73 #A26894 #BA8EAF

Accessibility & contrast

On white

6.48
#7F4E73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7F4E73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4E73
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4E73#FFFFFF#000000##FFFFFF
##7F4E731.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5A74
Deuteranopia (green-blind)
#5B6172
Tritanopia (blue-blind)
#84505B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f4e73;
/* rgb */ color: rgb(127, 78, 115);
/* oklch */ color: oklch(49.3% 0.084 336.3);
Tailwind
colors: {
  custom: {
    50: '#a5809b',
    500: '#7f4e73',
    950: '#000000',
  },
}
SCSS
$custom: #7f4e73;
$custom-light: #a5809b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4e73",
  "rgb": {
    "r": 127,
    "g": 78,
    "b": 115
  },
  "hsl": {
    "h": 314.694,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.08377,
    "h": 336.3
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#7F4E73
secondary
#83A68B
accent
#C07D67
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7F4E73

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

Preview Lab → · Contrast checker → · Palette generator →

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