#982882#982882

#982882 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.176 H 337.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#982882
RGBrgb(152, 40, 130)
HSLhsl(312, 58%, 38%)
HSVhsv(312, 74%, 60%)
CMYKcmyk(0%, 73.7%, 14.5%, 40.4%)
CIE-LABlab(37.49, 55.16, -25.26)
CIE-LCHlch(37.49, 60.67, 335.39°)
OKLaboklab(48.45% 0.1625 -0.0687)
OKLCHoklch(48.45% 0.176 337.1)
XYZxyz(17.7373, 9.8063, 22.0734)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982882 #28983E
analogous
#762898 #982882 #98284A
triadic
#982882 #829828 #288298
tetradic
#982882 #987628 #28983E #284A98
square
#982882 #987628 #28983E #284A98
split-complementary
#982882 #4A9828 #289876
monochromatic
#370F2F #681B59 #982882 #C835AB #D664C0

Accessibility & contrast

On white

7.09
#982882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#982882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982882
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982882#FFFFFF#000000##FFFFFF
##9828821.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D84
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A02F52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982882;
/* rgb */ color: rgb(152, 40, 130);
/* oklch */ color: oklch(48.4% 0.176 337.1);
Tailwind
colors: {
  custom: {
    50: '#ba6da6',
    500: '#982882',
    950: '#000000',
  },
}
SCSS
$custom: #982882;
$custom-light: #ba6da6;
$custom-dark: #000000;
JSON
{
  "hex": "#982882",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 311.786,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48446,
    "c": 0.17638,
    "h": 337.1
  },
  "luminance": 0.09805
}

Semantic roles & 50–950 ramp

primary
#982882
secondary
#60BC72
accent
#E26546
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982882

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

Preview Lab → · Contrast checker → · Palette generator →

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