#982878#982878

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

Color values

HEX#982878
RGBrgb(152, 40, 120)
HSLhsl(317, 58%, 38%)
HSVhsv(317, 74%, 60%)
CMYKcmyk(0%, 73.7%, 21.1%, 40.4%)
CIE-LABlab(37.02, 53.70, -19.77)
CIE-LCHlch(37.02, 57.23, 339.79°)
OKLaboklab(47.95% 0.161 -0.0531)
OKLCHoklch(47.95% 0.17 341.7)
XYZxyz(17.0984, 9.5508, 18.7087)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982878 #289848
analogous
#802898 #982878 #982840
triadic
#982878 #789828 #287898
tetradic
#982878 #988028 #289848 #284098
square
#982878 #988028 #289848 #284098
split-complementary
#982878 #409828 #289880
monochromatic
#370F2B #681B52 #982878 #C8359E #D664B6

Accessibility & contrast

On white

7.22
#982878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982878
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982878#FFFFFF#000000##FFFFFF
##9828781.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B7A
Deuteranopia (green-blind)
#555E75
Tritanopia (blue-blind)
#A22A4C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982878;
/* rgb */ color: rgb(152, 40, 120);
/* oklch */ color: oklch(48.0% 0.170 341.7);
Tailwind
colors: {
  custom: {
    50: '#ba6d9f',
    500: '#982878',
    950: '#000000',
  },
}
SCSS
$custom: #982878;
$custom-light: #ba6d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#982878",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 317.143,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.16954,
    "h": 341.7
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#982878
secondary
#60BC7A
accent
#E27346
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982878

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

Preview Lab → · Contrast checker → · Palette generator →

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