#982280#982280

#982280 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.182 H 337.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#982280
RGBrgb(152, 34, 128)
HSLhsl(312, 63%, 36%)
HSVhsv(312, 78%, 60%)
CMYKcmyk(0%, 77.6%, 15.8%, 40.4%)
CIE-LABlab(36.71, 56.82, -25.25)
CIE-LCHlch(36.71, 62.18, 336.04°)
OKLaboklab(47.85% 0.1681 -0.0686)
OKLCHoklch(47.85% 0.182 337.8)
XYZxyz(17.4176, 9.3796, 21.3110)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982280 #22983A
analogous
#752298 #982280 #982245
triadic
#982280 #809822 #228098
tetradic
#982280 #987522 #22983A #224598
square
#982280 #987522 #22983A #224598
split-complementary
#982280 #459822 #229875
monochromatic
#340C2C #661756 #982280 #CA2DAA #DA5AC0

Accessibility & contrast

On white

7.30
#982280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#982280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982280
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982280#FFFFFF#000000##FFFFFF
##9822801.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#505D7D
Tritanopia (blue-blind)
#A1294F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982280;
/* rgb */ color: rgb(152, 34, 128);
/* oklch */ color: oklch(47.8% 0.182 337.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ba5',
    500: '#982280',
    950: '#000000',
  },
}
SCSS
$custom: #982280;
$custom-light: #ba6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#982280",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 312.203,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47846,
    "c": 0.18157,
    "h": 337.8
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#982280
secondary
#57BE6C
accent
#E66341
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982280

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

Preview Lab → · Contrast checker → · Palette generator →

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