#7F5071#7F5071

#7F5071 is a mid, moderate pink. Relative luminance 0.114; OKLCH L 49.5% C 0.078 H 338.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7F5071
RGBrgb(127, 80, 113)
HSLhsl(318, 23%, 41%)
HSVhsv(318, 37%, 50%)
CMYKcmyk(0%, 37%, 11%, 50.2%)
CIE-LABlab(40.32, 25.05, -10.72)
CIE-LCHlch(40.32, 27.25, 336.82°)
OKLaboklab(49.54% 0.0727 -0.0286)
OKLCHoklch(49.54% 0.078 338.5)
XYZxyz(14.6017, 11.4424, 17.0591)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5071 #507F5E
analogous
#75507F #7F5071 #7F5059
triadic
#7F5071 #717F50 #50717F
tetradic
#7F5071 #7F7550 #507F5E #50597F
square
#7F5071 #7F7550 #507F5E #50597F
split-complementary
#7F5071 #597F50 #507F75
monochromatic
#34212E #593850 #7F5071 #A26B91 #B990AD

Accessibility & contrast

On white

6.39
#7F5071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7F5071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5071
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5071#FFFFFF#000000##FFFFFF
##7F50711.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B72
Deuteranopia (green-blind)
#5D6270
Tritanopia (blue-blind)
#84515C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f5071;
/* rgb */ color: rgb(127, 80, 113);
/* oklch */ color: oklch(49.5% 0.078 338.5);
Tailwind
colors: {
  custom: {
    50: '#a58299',
    500: '#7f5071',
    950: '#000000',
  },
}
SCSS
$custom: #7f5071;
$custom-light: #a58299;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5071",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 113
  },
  "hsl": {
    "h": 317.872,
    "s": 22.705,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49538,
    "c": 0.07811,
    "h": 338.5
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#7F5071
secondary
#85A68F
accent
#BF8269
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7F5071

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

Preview Lab → · Contrast checker → · Palette generator →

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