#982479#982479

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

Color values

HEX#982479
RGBrgb(152, 36, 121)
HSLhsl(316, 62%, 37%)
HSVhsv(316, 76%, 60%)
CMYKcmyk(0%, 76.3%, 20.4%, 40.4%)
CIE-LABlab(36.59, 55.20, -21.06)
CIE-LCHlch(36.59, 59.08, 339.11°)
OKLaboklab(47.66% 0.1653 -0.0567)
OKLCHoklch(47.66% 0.175 341.1)
XYZxyz(17.0315, 9.3194, 18.9873)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982479 #249843
analogous
#7D2498 #982479 #98243F
triadic
#982479 #799824 #247998
tetradic
#982479 #987D24 #249843 #243F98
square
#982479 #987D24 #249843 #243F98
split-complementary
#982479 #3F9824 #24987D
monochromatic
#350D2A #671852 #982479 #C930A0 #D95EB8

Accessibility & contrast

On white

7.33
#982479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982479
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982479#FFFFFF#000000##FFFFFF
##9824791.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#535D76
Tritanopia (blue-blind)
#A1274C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982479;
/* rgb */ color: rgb(152, 36, 121);
/* oklch */ color: oklch(47.7% 0.175 341.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ba0',
    500: '#982479',
    950: '#000000',
  },
}
SCSS
$custom: #982479;
$custom-light: #ba6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#982479",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 316.034,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.17475,
    "h": 341.1
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#982479
secondary
#5ABE75
accent
#E56E43
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982479

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

Preview Lab → · Contrast checker → · Palette generator →

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