#982381#982381

#982381 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.181 H 337.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#982381
RGBrgb(152, 35, 129)
HSLhsl(312, 63%, 37%)
HSVhsv(312, 77%, 60%)
CMYKcmyk(0%, 77%, 15.1%, 40.4%)
CIE-LABlab(36.86, 56.66, -25.63)
CIE-LCHlch(36.86, 62.18, 335.66°)
OKLaboklab(47.98% 0.1673 -0.0697)
OKLCHoklch(47.98% 0.181 337.4)
XYZxyz(17.5127, 9.4641, 21.6691)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982381 #23983A
analogous
#752398 #982381 #982347
triadic
#982381 #819823 #238198
tetradic
#982381 #987523 #23983A #234798
square
#982381 #987523 #23983A #234798
split-complementary
#982381 #479823 #239875
monochromatic
#350C2D #661857 #982381 #CA2EAB #D95CC1

Accessibility & contrast

On white

7.26
#982381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982381
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982381#FFFFFF#000000##FFFFFF
##9823811.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B84
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#A02A50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982381;
/* rgb */ color: rgb(152, 35, 129);
/* oklch */ color: oklch(48.0% 0.181 337.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ba6',
    500: '#982381',
    950: '#000000',
  },
}
SCSS
$custom: #982381;
$custom-light: #ba6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#982381",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 311.795,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.18123,
    "h": 337.4
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#982381
secondary
#59BE6D
accent
#E66242
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982381

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

Preview Lab → · Contrast checker → · Palette generator →

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