#982579#982579

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

Color values

HEX#982579
RGBrgb(152, 37, 121)
HSLhsl(316, 61%, 37%)
HSVhsv(316, 76%, 60%)
CMYKcmyk(0%, 75.7%, 20.4%, 40.4%)
CIE-LABlab(36.71, 54.87, -20.88)
CIE-LCHlch(36.71, 58.71, 339.16°)
OKLaboklab(47.74% 0.1643 -0.0562)
OKLCHoklch(47.74% 0.174 341.1)
XYZxyz(17.0622, 9.3807, 18.9975)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982579 #259844
analogous
#7E2598 #982579 #98253F
triadic
#982579 #799825 #257998
tetradic
#982579 #987E25 #259844 #253F98
square
#982579 #987E25 #259844 #253F98
split-complementary
#982579 #3F9825 #25987E
monochromatic
#360D2B #671952 #982579 #C931A0 #D85FB8

Accessibility & contrast

On white

7.30
#982579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#982579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982579
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982579#FFFFFF#000000##FFFFFF
##9825791.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7B
Deuteranopia (green-blind)
#545D76
Tritanopia (blue-blind)
#A1284C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982579;
/* rgb */ color: rgb(152, 37, 121);
/* oklch */ color: oklch(47.7% 0.174 341.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ca0',
    500: '#982579',
    950: '#000000',
  },
}
SCSS
$custom: #982579;
$custom-light: #ba6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#982579",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 316.174,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47739,
    "c": 0.17366,
    "h": 341.1
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#982579
secondary
#5CBD76
accent
#E46F44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982579

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

Preview Lab → · Contrast checker → · Palette generator →

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