#984E7D#984E7D

#984E7D is a mid, moderate pink. Relative luminance 0.136; OKLCH L 52.9% C 0.115 H 342.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#984E7D
RGBrgb(152, 78, 125)
HSLhsl(322, 32%, 45%)
HSVhsv(322, 49%, 60%)
CMYKcmyk(0%, 48.7%, 17.8%, 40.4%)
CIE-LABlab(43.66, 37.10, -12.69)
CIE-LCHlch(43.66, 39.21, 341.11°)
OKLaboklab(52.92% 0.1099 -0.0337)
OKLCHoklch(52.92% 0.115 342.9)
XYZxyz(19.3753, 13.6063, 21.0038)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E7D #4E9869
analogous
#8E4E98 #984E7D #984E58
triadic
#984E7D #7D984E #4E7D98
tetradic
#984E7D #988E4E #4E9869 #4E5898
square
#984E7D #988E4E #4E9869 #4E5898
split-complementary
#984E7D #58984E #4E988E
monochromatic
#47243A #70395C #984E7D #B56E9B #CA97B7

Accessibility & contrast

On white

5.64
#984E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#984E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E7D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E7D#FFFFFF#000000##FFFFFF
##984E7D1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607F
Deuteranopia (green-blind)
#666C7B
Tritanopia (blue-blind)
#A04E60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #984e7d;
/* rgb */ color: rgb(152, 78, 125);
/* oklch */ color: oklch(52.9% 0.115 342.9);
Tailwind
colors: {
  custom: {
    50: '#b882a2',
    500: '#984e7d',
    950: '#000000',
  },
}
SCSS
$custom: #984e7d;
$custom-light: #b882a2;
$custom-dark: #000000;
JSON
{
  "hex": "#984e7d",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 321.892,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52922,
    "c": 0.11497,
    "h": 342.9
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#984E7D
secondary
#8CB69B
accent
#C8865F
background
#FBF8FA
surface
#F6EFF3
border
#D0CACD
text
#120B0F
muted
#817C7F

Preview Lab

Preview with #984E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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