#984875#984875

#984875 is a mid, moderate pink. Relative luminance 0.126; OKLCH L 51.7% C 0.120 H 347.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#984875
RGBrgb(152, 72, 117)
HSLhsl(326, 36%, 44%)
HSVhsv(326, 53%, 60%)
CMYKcmyk(0%, 52.6%, 23%, 40.4%)
CIE-LABlab(42.15, 39.01, -10.09)
CIE-LCHlch(42.15, 40.29, 345.50°)
OKLaboklab(51.69% 0.117 -0.0265)
OKLCHoklch(51.69% 0.12 347.2)
XYZxyz(18.4776, 12.5960, 18.2843)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984875 #48986B
analogous
#934898 #984875 #98484D
triadic
#984875 #759848 #487598
tetradic
#984875 #989348 #48986B #484D98
square
#984875 #989348 #48986B #484D98
split-complementary
#984875 #4D9848 #489893
monochromatic
#452135 #6E3455 #984875 #B76694 #CA90B1

Accessibility & contrast

On white

5.97
#984875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#984875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984875
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984875#FFFFFF#000000##FFFFFF
##9848751.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B76
Deuteranopia (green-blind)
#656973
Tritanopia (blue-blind)
#A14659
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #984875;
/* rgb */ color: rgb(152, 72, 117);
/* oklch */ color: oklch(51.7% 0.120 347.2);
Tailwind
colors: {
  custom: {
    50: '#b97e9c',
    500: '#984875',
    950: '#000000',
  },
}
SCSS
$custom: #984875;
$custom-light: #b97e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#984875",
  "rgb": {
    "r": 152,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 326.25,
    "s": 35.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.11996,
    "h": 347.2
  },
  "luminance": 0.12594
}

Semantic roles & 50–950 ramp

primary
#984875
secondary
#86B69B
accent
#CC8D5C
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #984875

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

Preview Lab → · Contrast checker → · Palette generator →

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