#982281#982281

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

Color values

HEX#982281
RGBrgb(152, 34, 129)
HSLhsl(312, 63%, 36%)
HSVhsv(312, 78%, 60%)
CMYKcmyk(0%, 77.6%, 15.1%, 40.4%)
CIE-LABlab(36.75, 56.97, -25.79)
CIE-LCHlch(36.75, 62.54, 335.64°)
OKLaboklab(47.9% 0.1682 -0.0702)
OKLCHoklch(47.9% 0.182 337.4)
XYZxyz(17.4837, 9.4061, 21.6594)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982281 #229839
analogous
#742298 #982281 #982246
triadic
#982281 #819822 #228198
tetradic
#982281 #987422 #229839 #224698
square
#982281 #987422 #229839 #224698
split-complementary
#982281 #469822 #229874
monochromatic
#340C2C #661757 #982281 #CA2DAB #DA5AC1

Accessibility & contrast

On white

7.29
#982281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982281
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982281#FFFFFF#000000##FFFFFF
##9822811.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#4F5D7E
Tritanopia (blue-blind)
#A02A50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982281;
/* rgb */ color: rgb(152, 34, 129);
/* oklch */ color: oklch(47.9% 0.182 337.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ba6',
    500: '#982281',
    950: '#000000',
  },
}
SCSS
$custom: #982281;
$custom-light: #ba6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#982281",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 311.695,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47898,
    "c": 0.18226,
    "h": 337.4
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #982281

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

Preview Lab → · Contrast checker → · Palette generator →

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