#982571#982571

#982571 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.169 H 345.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#982571
RGBrgb(152, 37, 113)
HSLhsl(320, 61%, 37%)
HSVhsv(320, 76%, 60%)
CMYKcmyk(0%, 75.7%, 25.7%, 40.4%)
CIE-LABlab(36.35, 53.78, -16.41)
CIE-LCHlch(36.35, 56.23, 343.03°)
OKLaboklab(47.37% 0.1629 -0.0437)
OKLCHoklch(47.37% 0.169 345)
XYZxyz(16.5918, 9.1926, 16.5202)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982571 #25984C
analogous
#862598 #982571 #982537
triadic
#982571 #719825 #257198
tetradic
#982571 #988625 #25984C #253798
square
#982571 #988625 #25984C #253798
split-complementary
#982571 #379825 #259886
monochromatic
#360D28 #67194C #982571 #C93196 #D85FAF

Accessibility & contrast

On white

7.40
#982571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#982571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982571
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982571#FFFFFF#000000##FFFFFF
##9825711.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#565C6E
Tritanopia (blue-blind)
#A22348
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982571;
/* rgb */ color: rgb(152, 37, 113);
/* oklch */ color: oklch(47.4% 0.169 345.0);
Tailwind
colors: {
  custom: {
    50: '#ba6b9a',
    500: '#982571',
    950: '#000000',
  },
}
SCSS
$custom: #982571;
$custom-light: #ba6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#982571",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 320.348,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47366,
    "c": 0.1686,
    "h": 345
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#982571
secondary
#5CBD7D
accent
#E47A44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982571

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

Preview Lab → · Contrast checker → · Palette generator →

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