#982474#982474

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

Color values

HEX#982474
RGBrgb(152, 36, 116)
HSLhsl(319, 62%, 37%)
HSVhsv(319, 76%, 60%)
CMYKcmyk(0%, 76.3%, 23.7%, 40.4%)
CIE-LABlab(36.37, 54.51, -18.28)
CIE-LCHlch(36.37, 57.49, 341.47°)
OKLaboklab(47.42% 0.1645 -0.0489)
OKLCHoklch(47.42% 0.172 343.4)
XYZxyz(16.7328, 9.1999, 17.4142)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982474 #249848
analogous
#822498 #982474 #98243A
triadic
#982474 #749824 #247498
tetradic
#982474 #988224 #249848 #243A98
square
#982474 #988224 #249848 #243A98
split-complementary
#982474 #3A9824 #249882
monochromatic
#350D28 #67184E #982474 #C9309A #D95EB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982474#FFFFFF#000000##FFFFFF
##9824741.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)
#314976
Deuteranopia (green-blind)
#555C71
Tritanopia (blue-blind)
#A22449
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982474;
/* rgb */ color: rgb(152, 36, 116);
/* oklch */ color: oklch(47.4% 0.172 343.4);
Tailwind
colors: {
  custom: {
    50: '#ba6b9c',
    500: '#982474',
    950: '#000000',
  },
}
SCSS
$custom: #982474;
$custom-light: #ba6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#982474",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 318.621,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47418,
    "c": 0.17156,
    "h": 343.4
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#982474
secondary
#5ABE79
accent
#E57543
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982474

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

Preview Lab → · Contrast checker → · Palette generator →

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