#984E7E#984E7E

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

Color values

HEX#984E7E
RGBrgb(152, 78, 126)
HSLhsl(321, 32%, 45%)
HSVhsv(321, 49%, 60%)
CMYKcmyk(0%, 48.7%, 17.1%, 40.4%)
CIE-LABlab(43.70, 37.26, -13.25)
CIE-LCHlch(43.70, 39.55, 340.43°)
OKLaboklab(52.96% 0.1102 -0.0352)
OKLCHoklch(52.96% 0.116 342.3)
XYZxyz(19.4395, 13.6319, 21.3420)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E7E #4E9868
analogous
#8D4E98 #984E7E #984E59
triadic
#984E7E #7E984E #4E7E98
tetradic
#984E7E #988D4E #4E9868 #4E5998
square
#984E7E #988D4E #4E9868 #4E5998
split-complementary
#984E7E #59984E #4E988D
monochromatic
#47243B #70395C #984E7E #B56E9C #CA97B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##984E7E#FFFFFF#000000##FFFFFF
##984E7E1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526080
Deuteranopia (green-blind)
#666C7C
Tritanopia (blue-blind)
#A04E60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #984e7e;
/* rgb */ color: rgb(152, 78, 126);
/* oklch */ color: oklch(53.0% 0.116 342.3);
Tailwind
colors: {
  custom: {
    50: '#b882a3',
    500: '#984e7e',
    950: '#000000',
  },
}
SCSS
$custom: #984e7e;
$custom-light: #b882a3;
$custom-dark: #000000;
JSON
{
  "hex": "#984e7e",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 321.081,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.1157,
    "h": 342.3
  },
  "luminance": 0.13631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #984E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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