#7F4E71#7F4E71

#7F4E71 is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.2% C 0.082 H 338.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7F4E71
RGBrgb(127, 78, 113)
HSLhsl(317, 24%, 40%)
HSVhsv(317, 39%, 50%)
CMYKcmyk(0%, 38.6%, 11%, 50.2%)
CIE-LABlab(39.84, 26.22, -11.44)
CIE-LCHlch(39.84, 28.61, 336.42°)
OKLaboklab(49.18% 0.0761 -0.0306)
OKLCHoklch(49.18% 0.082 338.1)
XYZxyz(14.4574, 11.1538, 17.0110)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4E71 #4E7F5C
analogous
#744E7F #7F4E71 #7F4E58
triadic
#7F4E71 #717F4E #4E717F
tetradic
#7F4E71 #7F744E #4E7F5C #4E587F
square
#7F4E71 #7F744E #4E7F5C #4E587F
split-complementary
#7F4E71 #587F4E #4E7F74
monochromatic
#331F2E #59374F #7F4E71 #A26892 #BA8EAD

Accessibility & contrast

On white

6.50
#7F4E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7F4E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4E71
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4E71#FFFFFF#000000##FFFFFF
##7F4E711.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5972
Deuteranopia (green-blind)
#5C6170
Tritanopia (blue-blind)
#844F5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f4e71;
/* rgb */ color: rgb(127, 78, 113);
/* oklch */ color: oklch(49.2% 0.082 338.1);
Tailwind
colors: {
  custom: {
    50: '#a58099',
    500: '#7f4e71',
    950: '#000000',
  },
}
SCSS
$custom: #7f4e71;
$custom-light: #a58099;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4e71",
  "rgb": {
    "r": 127,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 317.143,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49176,
    "c": 0.08198,
    "h": 338.1
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

primary
#7F4E71
secondary
#83A68D
accent
#C08167
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7F4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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