#982779#982779

#982779 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.171 H 341.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#982779
RGBrgb(152, 39, 121)
HSLhsl(316, 59%, 37%)
HSVhsv(316, 74%, 60%)
CMYKcmyk(0%, 74.3%, 20.4%, 40.4%)
CIE-LABlab(36.95, 54.19, -20.51)
CIE-LCHlch(36.95, 57.95, 339.27°)
OKLaboklab(47.91% 0.1622 -0.0552)
OKLCHoklch(47.91% 0.171 341.2)
XYZxyz(17.1261, 9.5086, 19.0189)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982779 #279846
analogous
#7E2798 #982779 #982741
triadic
#982779 #799827 #277998
tetradic
#982779 #987E27 #279846 #274198
square
#982779 #987E27 #279846 #274198
split-complementary
#982779 #419827 #27987E
monochromatic
#370E2B #671B52 #982779 #C933A0 #D763B7

Accessibility & contrast

On white

7.24
#982779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982779
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982779#FFFFFF#000000##FFFFFF
##9827791.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7B
Deuteranopia (green-blind)
#545D76
Tritanopia (blue-blind)
#A1294D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982779;
/* rgb */ color: rgb(152, 39, 121);
/* oklch */ color: oklch(47.9% 0.171 341.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ca0',
    500: '#982779',
    950: '#000000',
  },
}
SCSS
$custom: #982779;
$custom-light: #ba6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#982779",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 316.46,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47912,
    "c": 0.17137,
    "h": 341.2
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

primary
#982779
secondary
#5EBC78
accent
#E27045
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982779

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

Preview Lab → · Contrast checker → · Palette generator →

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