#982879#982879

#982879 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.170 H 341.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#982879
RGBrgb(152, 40, 121)
HSLhsl(317, 58%, 38%)
HSVhsv(317, 74%, 60%)
CMYKcmyk(0%, 73.7%, 20.4%, 40.4%)
CIE-LABlab(37.07, 53.85, -20.32)
CIE-LCHlch(37.07, 57.55, 339.32°)
OKLaboklab(48% 0.1612 -0.0547)
OKLCHoklch(48% 0.17 341.3)
XYZxyz(17.1594, 9.5752, 19.0300)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982879 #289847
analogous
#7F2898 #982879 #982841
triadic
#982879 #799828 #287998
tetradic
#982879 #987F28 #289847 #284198
square
#982879 #987F28 #289847 #284198
split-complementary
#982879 #419828 #28987F
monochromatic
#370F2C #681B52 #982879 #C835A0 #D664B7

Accessibility & contrast

On white

7.21
#982879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#982879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982879
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982879#FFFFFF#000000##FFFFFF
##9828791.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A12A4D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982879;
/* rgb */ color: rgb(152, 40, 121);
/* oklch */ color: oklch(48.0% 0.170 341.3);
Tailwind
colors: {
  custom: {
    50: '#ba6da0',
    500: '#982879',
    950: '#000000',
  },
}
SCSS
$custom: #982879;
$custom-light: #ba6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#982879",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 316.607,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.1702,
    "h": 341.3
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#982879
secondary
#60BC79
accent
#E27146
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982879

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

Preview Lab → · Contrast checker → · Palette generator →

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