#982478#982478

#982478 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.174 H 341.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#982478
RGBrgb(152, 36, 120)
HSLhsl(317, 62%, 37%)
HSVhsv(317, 76%, 60%)
CMYKcmyk(0%, 76.3%, 21.1%, 40.4%)
CIE-LABlab(36.55, 55.06, -20.51)
CIE-LCHlch(36.55, 58.75, 339.57°)
OKLaboklab(47.61% 0.1651 -0.0552)
OKLCHoklch(47.61% 0.174 341.5)
XYZxyz(16.9705, 9.2950, 18.6660)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982478 #249844
analogous
#7E2498 #982478 #98243E
triadic
#982478 #789824 #247898
tetradic
#982478 #987E24 #249844 #243E98
square
#982478 #987E24 #249844 #243E98
split-complementary
#982478 #3E9824 #24987E
monochromatic
#350D2A #671851 #982478 #C9309F #D95EB7

Accessibility & contrast

On white

7.35
#982478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#982478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982478
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982478#FFFFFF#000000##FFFFFF
##9824781.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A7A
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#A2264B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982478;
/* rgb */ color: rgb(152, 36, 120);
/* oklch */ color: oklch(47.6% 0.174 341.5);
Tailwind
colors: {
  custom: {
    50: '#ba6b9f',
    500: '#982478',
    950: '#000000',
  },
}
SCSS
$custom: #982478;
$custom-light: #ba6b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#982478",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 316.552,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47607,
    "c": 0.17411,
    "h": 341.5
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

primary
#982478
secondary
#5ABE76
accent
#E57043
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982478

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

Preview Lab → · Contrast checker → · Palette generator →

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