#982181#982181

#982181 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.183 H 337.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#982181
RGBrgb(152, 33, 129)
HSLhsl(312, 64%, 36%)
HSVhsv(312, 78%, 60%)
CMYKcmyk(0%, 78.3%, 15.1%, 40.4%)
CIE-LABlab(36.65, 57.27, -25.96)
CIE-LCHlch(36.65, 62.88, 335.62°)
OKLaboklab(47.82% 0.1691 -0.0706)
OKLCHoklch(47.82% 0.183 337.3)
XYZxyz(17.4556, 9.3498, 21.6500)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982181 #219838
analogous
#742198 #982181 #982146
triadic
#982181 #819821 #218198
tetradic
#982181 #987421 #219838 #214698
square
#982181 #987421 #219838 #214698
split-complementary
#982181 #469821 #219874
monochromatic
#330B2C #661656 #982181 #CA2CAC #DB59C2

Accessibility & contrast

On white

7.32
#982181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#982181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982181
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982181#FFFFFF#000000##FFFFFF
##9821811.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982181;
/* rgb */ color: rgb(152, 33, 129);
/* oklch */ color: oklch(47.8% 0.183 337.3);
Tailwind
colors: {
  custom: {
    50: '#ba6aa6',
    500: '#982181',
    950: '#000000',
  },
}
SCSS
$custom: #982181;
$custom-light: #ba6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#982181",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 311.597,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47822,
    "c": 0.18328,
    "h": 337.3
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#982181
secondary
#56BF6A
accent
#E76140
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982181

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

Preview Lab → · Contrast checker → · Palette generator →

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