#984E7F#984E7F

#984E7F is a mid, moderate pink. Relative luminance 0.137; OKLCH L 53.0% C 0.116 H 341.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#984E7F
RGBrgb(152, 78, 127)
HSLhsl(320, 32%, 45%)
HSVhsv(320, 49%, 60%)
CMYKcmyk(0%, 48.7%, 16.4%, 40.4%)
CIE-LABlab(43.74, 37.42, -13.80)
CIE-LCHlch(43.74, 39.89, 339.76°)
OKLaboklab(53% 0.1105 -0.0368)
OKLCHoklch(53% 0.116 341.6)
XYZxyz(19.5043, 13.6579, 21.6835)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E7F #4E9867
analogous
#8C4E98 #984E7F #984E5A
triadic
#984E7F #7F984E #4E7F98
tetradic
#984E7F #988C4E #4E9867 #4E5A98
square
#984E7F #988C4E #4E9867 #4E5A98
split-complementary
#984E7F #5A984E #4E988C
monochromatic
#47243B #70395D #984E7F #B56E9D #CA97B8

Accessibility & contrast

On white

5.63
#984E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#984E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E7F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E7F#FFFFFF#000000##FFFFFF
##984E7F1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526081
Deuteranopia (green-blind)
#666C7D
Tritanopia (blue-blind)
#A04F61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #984e7f;
/* rgb */ color: rgb(152, 78, 127);
/* oklch */ color: oklch(53.0% 0.116 341.6);
Tailwind
colors: {
  custom: {
    50: '#b882a4',
    500: '#984e7f',
    950: '#000000',
  },
}
SCSS
$custom: #984e7f;
$custom-light: #b882a4;
$custom-dark: #000000;
JSON
{
  "hex": "#984e7f",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 320.27,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53003,
    "c": 0.11645,
    "h": 341.6
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#984E7F
secondary
#8CB69A
accent
#C8835F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B0F
muted
#817C7F

Preview Lab

Preview with #984E7F

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

Preview Lab → · Contrast checker → · Palette generator →

#984E7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva