#984978#984978

#984978 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.0% C 0.120 H 345.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#984978
RGBrgb(152, 73, 120)
HSLhsl(324, 35%, 44%)
HSVhsv(324, 52%, 60%)
CMYKcmyk(0%, 52%, 21.1%, 40.4%)
CIE-LABlab(42.46, 38.95, -11.46)
CIE-LCHlch(42.46, 40.60, 343.60°)
OKLaboklab(51.96% 0.1163 -0.0303)
OKLCHoklch(51.96% 0.12 345.4)
XYZxyz(18.7220, 12.7981, 19.2499)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984978 #499869
analogous
#914998 #984978 #984951
triadic
#984978 #789849 #497898
tetradic
#984978 #989149 #499869 #495198
square
#984978 #989149 #499869 #495198
split-complementary
#984978 #519849 #499891
monochromatic
#452137 #6F3557 #984978 #B66897 #CA91B3

Accessibility & contrast

On white

5.90
#984978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#984978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984978
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984978#FFFFFF#000000##FFFFFF
##9849781.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C7A
Deuteranopia (green-blind)
#656976
Tritanopia (blue-blind)
#A1485B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #984978;
/* rgb */ color: rgb(152, 73, 120);
/* oklch */ color: oklch(52.0% 0.120 345.4);
Tailwind
colors: {
  custom: {
    50: '#b87f9f',
    500: '#984978',
    950: '#000000',
  },
}
SCSS
$custom: #984978;
$custom-light: #b87f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#984978",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 324.304,
    "s": 35.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.12022,
    "h": 345.4
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

primary
#984978
secondary
#87B69A
accent
#CB895D
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #984978

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

Preview Lab → · Contrast checker → · Palette generator →

#984978 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva