#985178#985178

#985178 is a mid, moderate pink. Relative luminance 0.139; OKLCH L 53.2% C 0.106 H 347.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#985178
RGBrgb(152, 81, 120)
HSLhsl(327, 30%, 46%)
HSVhsv(327, 47%, 60%)
CMYKcmyk(0%, 46.7%, 21.1%, 40.4%)
CIE-LABlab(44.11, 34.68, -8.97)
CIE-LCHlch(44.11, 35.82, 345.50°)
OKLaboklab(53.2% 0.1035 -0.0235)
OKLCHoklch(53.2% 0.106 347.2)
XYZxyz(19.2819, 13.9178, 19.4365)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985178 #519871
analogous
#945198 #985178 #985154
triadic
#985178 #789851 #517898
tetradic
#985178 #989451 #519871 #515498
square
#985178 #989451 #519871 #515498
split-complementary
#985178 #549851 #519894
monochromatic
#482639 #703C58 #985178 #B47296 #C99AB4

Accessibility & contrast

On white

5.55
#985178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#985178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985178
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985178#FFFFFF#000000##FFFFFF
##9851781.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576179
Deuteranopia (green-blind)
#6A6D76
Tritanopia (blue-blind)
#A1505F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #985178;
/* rgb */ color: rgb(152, 81, 120);
/* oklch */ color: oklch(53.2% 0.106 347.2);
Tailwind
colors: {
  custom: {
    50: '#b8849f',
    500: '#985178',
    950: '#000000',
  },
}
SCSS
$custom: #985178;
$custom-light: #b8849f;
$custom-dark: #000000;
JSON
{
  "hex": "#985178",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 327.042,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53201,
    "c": 0.10618,
    "h": 347.2
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

primary
#985178
secondary
#8FB6A0
accent
#C78F61
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #985178

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

Preview Lab → · Contrast checker → · Palette generator →

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