#982581#982581

#982581 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.179 H 337.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#982581
RGBrgb(152, 37, 129)
HSLhsl(312, 61%, 37%)
HSVhsv(312, 76%, 60%)
CMYKcmyk(0%, 75.7%, 15.1%, 40.4%)
CIE-LABlab(37.09, 56.02, -25.27)
CIE-LCHlch(37.09, 61.46, 335.72°)
OKLaboklab(48.14% 0.1654 -0.0687)
OKLCHoklch(48.14% 0.179 337.4)
XYZxyz(17.5733, 9.5852, 21.6892)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982581 #25983C
analogous
#762598 #982581 #982548
triadic
#982581 #819825 #258198
tetradic
#982581 #987625 #25983C #254898
square
#982581 #987625 #25983C #254898
split-complementary
#982581 #489825 #259876
monochromatic
#360D2D #671957 #982581 #C931AB #D85FC0

Accessibility & contrast

On white

7.20
#982581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#982581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982581
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982581#FFFFFF#000000##FFFFFF
##9825811.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C83
Deuteranopia (green-blind)
#505E7E
Tritanopia (blue-blind)
#A02C50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982581;
/* rgb */ color: rgb(152, 37, 129);
/* oklch */ color: oklch(48.1% 0.179 337.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ca6',
    500: '#982581',
    950: '#000000',
  },
}
SCSS
$custom: #982581;
$custom-light: #ba6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#982581",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 129
  },
  "hsl": {
    "h": 312,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48138,
    "c": 0.17907,
    "h": 337.4
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#982581
secondary
#5CBD6F
accent
#E46444
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982581

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

Preview Lab → · Contrast checker → · Palette generator →

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