#982876#982876

#982876 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.168 H 342.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#982876
RGBrgb(152, 40, 118)
HSLhsl(318, 58%, 38%)
HSVhsv(318, 74%, 60%)
CMYKcmyk(0%, 73.7%, 22.4%, 40.4%)
CIE-LABlab(36.93, 53.43, -18.65)
CIE-LCHlch(36.93, 56.59, 340.75°)
OKLaboklab(47.86% 0.1606 -0.05)
OKLCHoklch(47.86% 0.168 342.7)
XYZxyz(16.9783, 9.5027, 18.0761)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982876 #28984A
analogous
#822898 #982876 #98283E
triadic
#982876 #769828 #287698
tetradic
#982876 #988228 #28984A #283E98
square
#982876 #988228 #28984A #283E98
split-complementary
#982876 #3E9828 #289882
monochromatic
#370F2B #681B50 #982876 #C8359C #D664B4

Accessibility & contrast

On white

7.24
#982876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#982876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982876
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982876#FFFFFF#000000##FFFFFF
##9828761.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B78
Deuteranopia (green-blind)
#565E73
Tritanopia (blue-blind)
#A2294B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982876;
/* rgb */ color: rgb(152, 40, 118);
/* oklch */ color: oklch(47.9% 0.168 342.7);
Tailwind
colors: {
  custom: {
    50: '#ba6d9d',
    500: '#982876',
    950: '#000000',
  },
}
SCSS
$custom: #982876;
$custom-light: #ba6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#982876",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 318.214,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4786,
    "c": 0.16824,
    "h": 342.7
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#982876
secondary
#60BC7C
accent
#E27546
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982876

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

Preview Lab → · Contrast checker → · Palette generator →

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