#7F5072#7F5072

#7F5072 is a mid, moderate pink. Relative luminance 0.115; OKLCH L 49.6% C 0.079 H 337.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7F5072
RGBrgb(127, 80, 114)
HSLhsl(317, 23%, 41%)
HSVhsv(317, 37%, 50%)
CMYKcmyk(0%, 37%, 10.2%, 50.2%)
CIE-LABlab(40.35, 25.23, -11.28)
CIE-LCHlch(40.35, 27.64, 335.91°)
OKLaboklab(49.58% 0.073 -0.0301)
OKLCHoklch(49.58% 0.079 337.6)
XYZxyz(14.6583, 11.4650, 17.3572)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5072 #507F5D
analogous
#74507F #7F5072 #7F505A
triadic
#7F5072 #727F50 #50727F
tetradic
#7F5072 #7F7450 #507F5D #505A7F
square
#7F5072 #7F7450 #507F5D #505A7F
split-complementary
#7F5072 #5A7F50 #507F74
monochromatic
#34212F #593850 #7F5072 #A26B92 #B990AE

Accessibility & contrast

On white

6.38
#7F5072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F5072
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5072#FFFFFF#000000##FFFFFF
##7F50721.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f5072;
/* rgb */ color: rgb(127, 80, 114);
/* oklch */ color: oklch(49.6% 0.079 337.6);
Tailwind
colors: {
  custom: {
    50: '#a5829a',
    500: '#7f5072',
    950: '#000000',
  },
}
SCSS
$custom: #7f5072;
$custom-light: #a5829a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5072",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 114
  },
  "hsl": {
    "h": 316.596,
    "s": 22.705,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49578,
    "c": 0.079,
    "h": 337.6
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

primary
#7F5072
secondary
#85A68E
accent
#BF8169
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7F5072

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

Preview Lab → · Contrast checker → · Palette generator →

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