#7F5070#7F5070

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

Color values

HEX#7F5070
RGBrgb(127, 80, 112)
HSLhsl(319, 23%, 41%)
HSVhsv(319, 37%, 50%)
CMYKcmyk(0%, 37%, 11.8%, 50.2%)
CIE-LABlab(40.28, 24.86, -10.16)
CIE-LCHlch(40.28, 26.86, 337.77°)
OKLaboklab(49.5% 0.0724 -0.027)
OKLCHoklch(49.5% 0.077 339.5)
XYZxyz(14.5457, 11.4200, 16.7642)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5070 #507F5F
analogous
#76507F #7F5070 #7F5058
triadic
#7F5070 #707F50 #50707F
tetradic
#7F5070 #7F7650 #507F5F #50587F
square
#7F5070 #7F7650 #507F5F #50587F
split-complementary
#7F5070 #587F50 #507F76
monochromatic
#34212E #59384F #7F5070 #A26B90 #B990AC

Accessibility & contrast

On white

6.40
#7F5070 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7F5070 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5070
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5070#FFFFFF#000000##FFFFFF
##7F50701.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B71
Deuteranopia (green-blind)
#5D626F
Tritanopia (blue-blind)
#84515B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f5070;
/* rgb */ color: rgb(127, 80, 112);
/* oklch */ color: oklch(49.5% 0.077 339.5);
Tailwind
colors: {
  custom: {
    50: '#a58299',
    500: '#7f5070',
    950: '#000000',
  },
}
SCSS
$custom: #7f5070;
$custom-light: #a58299;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5070",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 112
  },
  "hsl": {
    "h": 319.149,
    "s": 22.705,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.07724,
    "h": 339.5
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

primary
#7F5070
secondary
#85A68F
accent
#BF8469
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0D
muted
#7F7C7E

Preview Lab

Preview with #7F5070

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

Preview Lab → · Contrast checker → · Palette generator →

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