#985172#985172

#985172 is a mid, moderate pink. Relative luminance 0.138; OKLCH L 53.0% C 0.103 H 351.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#985172
RGBrgb(152, 81, 114)
HSLhsl(332, 30%, 46%)
HSVhsv(332, 47%, 60%)
CMYKcmyk(0%, 46.7%, 25%, 40.4%)
CIE-LABlab(43.91, 33.75, -5.61)
CIE-LCHlch(43.91, 34.22, 350.57°)
OKLaboklab(52.98% 0.1015 -0.0144)
OKLCHoklch(52.98% 0.103 351.9)
XYZxyz(18.9291, 13.7766, 17.5785)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985172 #519877
analogous
#985195 #985172 #985351
triadic
#985172 #729851 #517298
tetradic
#985172 #959851 #519877 #535198
square
#985172 #959851 #519877 #535198
split-complementary
#985172 #519853 #519598
monochromatic
#482636 #703C54 #985172 #B47291 #C99AB0

Accessibility & contrast

On white

5.59
#985172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#985172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985172
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985172#FFFFFF#000000##FFFFFF
##9851721.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596073
Deuteranopia (green-blind)
#6B6C70
Tritanopia (blue-blind)
#A14E5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #985172;
/* rgb */ color: rgb(152, 81, 114);
/* oklch */ color: oklch(53.0% 0.103 351.9);
Tailwind
colors: {
  custom: {
    50: '#b8849a',
    500: '#985172',
    950: '#000000',
  },
}
SCSS
$custom: #985172;
$custom-light: #b8849a;
$custom-dark: #000000;
JSON
{
  "hex": "#985172",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 332.113,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52981,
    "c": 0.10256,
    "h": 351.9
  },
  "luminance": 0.13775
}

Semantic roles & 50–950 ramp

primary
#985172
secondary
#8FB6A4
accent
#C79761
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #985172

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

Preview Lab → · Contrast checker → · Palette generator →

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