#985271#985271

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

Color values

HEX#985271
RGBrgb(152, 82, 113)
HSLhsl(333, 30%, 46%)
HSVhsv(333, 46%, 60%)
CMYKcmyk(0%, 46.1%, 25.7%, 40.4%)
CIE-LABlab(44.09, 33.06, -4.72)
CIE-LCHlch(44.09, 33.39, 351.87°)
OKLaboklab(53.11% 0.0995 -0.0121)
OKLCHoklch(53.11% 0.1 353.1)
XYZxyz(18.9474, 13.9037, 17.3053)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985271 #529879
analogous
#985294 #985271 #985652
triadic
#985271 #719852 #527198
tetradic
#985271 #949852 #529879 #565298
square
#985271 #949852 #529879 #565298
split-complementary
#985271 #529856 #529498
monochromatic
#482736 #703D53 #985271 #B47390 #C99BB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985271#FFFFFF#000000##FFFFFF
##9852711.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)
#5A6172
Deuteranopia (green-blind)
#6C6D6F
Tritanopia (blue-blind)
#A14F5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #985271;
/* rgb */ color: rgb(152, 82, 113);
/* oklch */ color: oklch(53.1% 0.100 353.1);
Tailwind
colors: {
  custom: {
    50: '#b88499',
    500: '#985271',
    950: '#000000',
  },
}
SCSS
$custom: #985271;
$custom-light: #b88499;
$custom-dark: #000000;
JSON
{
  "hex": "#985271",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 333.429,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53108,
    "c": 0.10027,
    "h": 353.1
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#985271
secondary
#90B6A5
accent
#C69A62
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #985271

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

Preview Lab → · Contrast checker → · Palette generator →

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