#982471#982471

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

Color values

HEX#982471
RGBrgb(152, 36, 113)
HSLhsl(320, 62%, 37%)
HSVhsv(320, 76%, 60%)
CMYKcmyk(0%, 76.3%, 25.7%, 40.4%)
CIE-LABlab(36.24, 54.11, -16.59)
CIE-LCHlch(36.24, 56.60, 342.96°)
OKLaboklab(47.28% 0.1639 -0.0442)
OKLCHoklch(47.28% 0.17 344.9)
XYZxyz(16.5611, 9.1312, 16.5099)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982471 #24984B
analogous
#852498 #982471 #982437
triadic
#982471 #719824 #247198
tetradic
#982471 #988524 #24984B #243798
square
#982471 #988524 #24984B #243798
split-complementary
#982471 #379824 #249885
monochromatic
#350D27 #67184C #982471 #C93096 #D95EAF

Accessibility & contrast

On white

7.43
#982471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982471
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982471#FFFFFF#000000##FFFFFF
##9824711.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982471;
/* rgb */ color: rgb(152, 36, 113);
/* oklch */ color: oklch(47.3% 0.170 344.9);
Tailwind
colors: {
  custom: {
    50: '#ba6b9a',
    500: '#982471',
    950: '#000000',
  },
}
SCSS
$custom: #982471;
$custom-light: #ba6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#982471",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 320.172,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47281,
    "c": 0.16973,
    "h": 344.9
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#982471
secondary
#5ABE7C
accent
#E57943
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982471

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

Preview Lab → · Contrast checker → · Palette generator →

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