#982472#982472

#982472 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.170 H 344.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#982472
RGBrgb(152, 36, 114)
HSLhsl(320, 62%, 37%)
HSVhsv(320, 76%, 60%)
CMYKcmyk(0%, 76.3%, 25%, 40.4%)
CIE-LABlab(36.28, 54.25, -17.15)
CIE-LCHlch(36.28, 56.89, 342.45°)
OKLaboklab(47.33% 0.1641 -0.0457)
OKLCHoklch(47.33% 0.17 344.4)
XYZxyz(16.6177, 9.1538, 16.8081)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982472 #24984A
analogous
#842498 #982472 #982438
triadic
#982472 #729824 #247298
tetradic
#982472 #988424 #24984A #243898
square
#982472 #988424 #24984A #243898
split-complementary
#982472 #389824 #249884
monochromatic
#350D28 #67184D #982472 #C93097 #D95EB0

Accessibility & contrast

On white

7.42
#982472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#982472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982472
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982472#FFFFFF#000000##FFFFFF
##9824721.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982472;
/* rgb */ color: rgb(152, 36, 114);
/* oklch */ color: oklch(47.3% 0.170 344.4);
Tailwind
colors: {
  custom: {
    50: '#ba6b9a',
    500: '#982472',
    950: '#000000',
  },
}
SCSS
$custom: #982472;
$custom-light: #ba6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#982472",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 319.655,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.17032,
    "h": 344.4
  },
  "luminance": 0.09152
}

Semantic roles & 50–950 ramp

primary
#982472
secondary
#5ABE7B
accent
#E57843
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982472

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

Preview Lab → · Contrast checker → · Palette generator →

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