#983871#983871

#983871 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.4% C 0.143 H 347.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#983871
RGBrgb(152, 56, 113)
HSLhsl(324, 46%, 41%)
HSVhsv(324, 63%, 60%)
CMYKcmyk(0%, 63.2%, 25.7%, 40.4%)
CIE-LABlab(39.07, 46.25, -12.27)
CIE-LCHlch(39.07, 47.85, 345.15°)
OKLaboklab(49.35% 0.1397 -0.0323)
OKLCHoklch(49.35% 0.143 347)
XYZxyz(17.3443, 10.6977, 16.7710)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983871 #38985F
analogous
#8F3898 #983871 #983841
triadic
#983871 #719838 #387198
tetradic
#983871 #988F38 #38985F #384198
square
#983871 #988F38 #38985F #384198
split-complementary
#983871 #419838 #38988F
monochromatic
#3F172F #6B2850 #983871 #BE4F91 #CF7CAD

Accessibility & contrast

On white

6.69
#983871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#983871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983871
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983871#FFFFFF#000000##FFFFFF
##9838711.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#A2364F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #983871;
/* rgb */ color: rgb(152, 56, 113);
/* oklch */ color: oklch(49.4% 0.143 347.0);
Tailwind
colors: {
  custom: {
    50: '#b97499',
    500: '#983871',
    950: '#000000',
  },
}
SCSS
$custom: #983871;
$custom-light: #b97499;
$custom-dark: #000000;
JSON
{
  "hex": "#983871",
  "rgb": {
    "r": 152,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 324.375,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.14335,
    "h": 347
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#983871
secondary
#74B890
accent
#D68852
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #983871

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

Preview Lab → · Contrast checker → · Palette generator →

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