#982159#982159

#982159 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.161 H 357.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#982159
RGBrgb(152, 33, 89)
HSLhsl(332, 64%, 36%)
HSVhsv(332, 78%, 60%)
CMYKcmyk(0%, 78.3%, 41.4%, 40.4%)
CIE-LABlab(34.98, 52.25, -3.19)
CIE-LCHlch(34.98, 52.35, 356.51°)
OKLaboklab(46.06% 0.1606 -0.0077)
OKLCHoklch(46.06% 0.161 357.3)
XYZxyz(15.2970, 8.4863, 10.2818)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982159 #219860
analogous
#982195 #982159 #982521
triadic
#982159 #599821 #215998
tetradic
#982159 #959821 #219860 #252198
square
#982159 #959821 #219860 #252198
split-complementary
#982159 #219825 #219598
monochromatic
#330B1E #66163C #982159 #CA2C76 #DB5996

Accessibility & contrast

On white

7.79
#982159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#982159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982159
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982159#FFFFFF#000000##FFFFFF
##9821591.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B445A
Deuteranopia (green-blind)
#5B5A56
Tritanopia (blue-blind)
#A50E3A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982159;
/* rgb */ color: rgb(152, 33, 89);
/* oklch */ color: oklch(46.1% 0.161 357.3);
Tailwind
colors: {
  custom: {
    50: '#bb6987',
    500: '#982159',
    950: '#000000',
  },
}
SCSS
$custom: #982159;
$custom-light: #bb6987;
$custom-dark: #000000;
JSON
{
  "hex": "#982159",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 331.765,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46061,
    "c": 0.16079,
    "h": 357.3
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#982159
secondary
#56BF8D
accent
#E79940
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #982159

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

Preview Lab → · Contrast checker → · Palette generator →

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