#982170#982170

#982170 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.172 H 345.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#982170
RGBrgb(152, 33, 112)
HSLhsl(320, 64%, 36%)
HSVhsv(320, 78%, 60%)
CMYKcmyk(0%, 78.3%, 26.3%, 40.4%)
CIE-LABlab(35.86, 54.93, -16.54)
CIE-LCHlch(35.86, 57.37, 343.25°)
OKLaboklab(46.99% 0.1666 -0.044)
OKLCHoklch(46.99% 0.172 345.2)
XYZxyz(16.4181, 8.9348, 16.1861)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982170 #219849
analogous
#852198 #982170 #982135
triadic
#982170 #709821 #217098
tetradic
#982170 #988521 #219849 #213598
square
#982170 #988521 #219849 #213598
split-complementary
#982170 #359821 #219885
monochromatic
#330B26 #66164B #982170 #CA2C95 #DB59AF

Accessibility & contrast

On white

7.54
#982170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#982170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982170
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982170#FFFFFF#000000##FFFFFF
##9821701.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314872
Deuteranopia (green-blind)
#555C6D
Tritanopia (blue-blind)
#A31F46
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #982170;
/* rgb */ color: rgb(152, 33, 112);
/* oklch */ color: oklch(47.0% 0.172 345.2);
Tailwind
colors: {
  custom: {
    50: '#ba6a99',
    500: '#982170',
    950: '#000000',
  },
}
SCSS
$custom: #982170;
$custom-light: #ba6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#982170",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 320.168,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46993,
    "c": 0.17233,
    "h": 345.2
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#982170
secondary
#56BF79
accent
#E77940
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982170

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

Preview Lab → · Contrast checker → · Palette generator →

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