#982481#982481

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

Color values

HEX#982481
RGBrgb(152, 36, 129)
HSLhsl(312, 62%, 37%)
HSVhsv(312, 76%, 60%)
CMYKcmyk(0%, 76.3%, 15.1%, 40.4%)
CIE-LABlab(36.97, 56.34, -25.45)
CIE-LCHlch(36.97, 61.83, 335.69°)
OKLaboklab(48.06% 0.1663 -0.0692)
OKLCHoklch(48.06% 0.18 337.4)
XYZxyz(17.5426, 9.5238, 21.6790)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982481 #24983B
analogous
#752498 #982481 #982447
triadic
#982481 #819824 #248198
tetradic
#982481 #987524 #24983B #244798
square
#982481 #987524 #24983B #244798
split-complementary
#982481 #479824 #249875
monochromatic
#350D2D #671857 #982481 #C930AB #D95EC0

Accessibility & contrast

On white

7.23
#982481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#982481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982481
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982481#FFFFFF#000000##FFFFFF
##9824811.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#A02B50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982481;
/* rgb */ color: rgb(152, 36, 129);
/* oklch */ color: oklch(48.1% 0.180 337.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ba6',
    500: '#982481',
    950: '#000000',
  },
}
SCSS
$custom: #982481;
$custom-light: #ba6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#982481",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 311.897,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48056,
    "c": 0.18016,
    "h": 337.4
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#982481
secondary
#5ABE6E
accent
#E56343
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #982481

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

Preview Lab → · Contrast checker → · Palette generator →

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