#982282#982282

#982282 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.183 H 336.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#982282
RGBrgb(152, 34, 130)
HSLhsl(311, 63%, 36%)
HSVhsv(311, 78%, 60%)
CMYKcmyk(0%, 77.6%, 14.5%, 40.4%)
CIE-LABlab(36.80, 57.12, -26.34)
CIE-LCHlch(36.80, 62.90, 335.24°)
OKLaboklab(47.95% 0.1683 -0.0717)
OKLCHoklch(47.95% 0.183 336.9)
XYZxyz(17.5505, 9.4328, 22.0112)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982282 #229838
analogous
#732298 #982282 #982247
triadic
#982282 #829822 #228298
tetradic
#982282 #987322 #229838 #224798
square
#982282 #987322 #229838 #224798
split-complementary
#982282 #479822 #229873
monochromatic
#340C2C #661757 #982282 #CA2DAD #DA5AC2

Accessibility & contrast

On white

7.28
#982282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#982282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982282
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982282#FFFFFF#000000##FFFFFF
##9822821.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#4F5D7F
Tritanopia (blue-blind)
#A02A50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982282;
/* rgb */ color: rgb(152, 34, 130);
/* oklch */ color: oklch(47.9% 0.183 336.9);
Tailwind
colors: {
  custom: {
    50: '#ba6ba6',
    500: '#982282',
    950: '#000000',
  },
}
SCSS
$custom: #982282;
$custom-light: #ba6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#982282",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 311.186,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4795,
    "c": 0.18296,
    "h": 336.9
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#982282
secondary
#57BE6B
accent
#E66041
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982282

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

Preview Lab → · Contrast checker → · Palette generator →

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