#982572#982572

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

Color values

HEX#982572
RGBrgb(152, 37, 114)
HSLhsl(320, 61%, 37%)
HSVhsv(320, 76%, 60%)
CMYKcmyk(0%, 75.7%, 25%, 40.4%)
CIE-LABlab(36.40, 53.92, -16.97)
CIE-LCHlch(36.40, 56.52, 342.53°)
OKLaboklab(47.41% 0.1631 -0.0452)
OKLCHoklch(47.41% 0.169 344.5)
XYZxyz(16.6484, 9.2152, 16.8183)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982572 #25984B
analogous
#852598 #982572 #982539
triadic
#982572 #729825 #257298
tetradic
#982572 #988525 #25984B #253998
square
#982572 #988525 #25984B #253998
split-complementary
#982572 #399825 #259885
monochromatic
#360D28 #67194D #982572 #C93197 #D85FB0

Accessibility & contrast

On white

7.39
#982572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982572
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982572#FFFFFF#000000##FFFFFF
##9825721.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334974
Deuteranopia (green-blind)
#565D6F
Tritanopia (blue-blind)
#A22448
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982572;
/* rgb */ color: rgb(152, 37, 114);
/* oklch */ color: oklch(47.4% 0.169 344.5);
Tailwind
colors: {
  custom: {
    50: '#ba6b9a',
    500: '#982572',
    950: '#000000',
  },
}
SCSS
$custom: #982572;
$custom-light: #ba6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#982572",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 319.826,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.16921,
    "h": 344.5
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#982572
secondary
#5CBD7C
accent
#E47944
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982572

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

Preview Lab → · Contrast checker → · Palette generator →

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