#982081#982081

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

Color values

HEX#982081
RGBrgb(152, 32, 129)
HSLhsl(312, 65%, 36%)
HSVhsv(312, 79%, 60%)
CMYKcmyk(0%, 78.9%, 15.1%, 40.4%)
CIE-LABlab(36.55, 57.57, -26.12)
CIE-LCHlch(36.55, 63.21, 335.59°)
OKLaboklab(47.75% 0.17 -0.0711)
OKLCHoklch(47.75% 0.184 337.3)
XYZxyz(17.4282, 9.2951, 21.6409)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982081 #209837
analogous
#732098 #982081 #982045
triadic
#982081 #819820 #208198
tetradic
#982081 #987320 #209837 #204598
square
#982081 #987320 #209837 #204598
split-complementary
#982081 #459820 #209873
monochromatic
#330B2B #651556 #982081 #CB2BAC #DC57C2

Accessibility & contrast

On white

7.35
#982081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#982081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982081
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982081#FFFFFF#000000##FFFFFF
##9820811.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A84
Deuteranopia (green-blind)
#4F5C7E
Tritanopia (blue-blind)
#A0284F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982081;
/* rgb */ color: rgb(152, 32, 129);
/* oklch */ color: oklch(47.7% 0.184 337.3);
Tailwind
colors: {
  custom: {
    50: '#ba6aa6',
    500: '#982081',
    950: '#000000',
  },
}
SCSS
$custom: #982081;
$custom-light: #ba6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#982081",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 311.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.18427,
    "h": 337.3
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

primary
#982081
secondary
#54BF69
accent
#E86040
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982081

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

Preview Lab → · Contrast checker → · Palette generator →

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