#982173#982173

#982173 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.174 H 343.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#982173
RGBrgb(152, 33, 115)
HSLhsl(319, 64%, 36%)
HSVhsv(319, 78%, 60%)
CMYKcmyk(0%, 78.3%, 24.3%, 40.4%)
CIE-LABlab(35.99, 55.33, -18.23)
CIE-LCHlch(35.99, 58.25, 341.77°)
OKLaboklab(47.13% 0.1672 -0.0487)
OKLCHoklch(47.13% 0.174 343.8)
XYZxyz(16.5879, 9.0027, 17.0805)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982173 #219846
analogous
#822198 #982173 #982138
triadic
#982173 #739821 #217398
tetradic
#982173 #988221 #219846 #213898
square
#982173 #988221 #219846 #213898
split-complementary
#982173 #389821 #219882
monochromatic
#330B27 #66164D #982173 #CA2C99 #DB59B2

Accessibility & contrast

On white

7.50
#982173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#982173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982173
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982173#FFFFFF#000000##FFFFFF
##9821731.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#545C70
Tritanopia (blue-blind)
#A22148
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982173;
/* rgb */ color: rgb(152, 33, 115);
/* oklch */ color: oklch(47.1% 0.174 343.8);
Tailwind
colors: {
  custom: {
    50: '#ba6a9b',
    500: '#982173',
    950: '#000000',
  },
}
SCSS
$custom: #982173;
$custom-light: #ba6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#982173",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 318.655,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47131,
    "c": 0.17414,
    "h": 343.8
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#982173
secondary
#56BF77
accent
#E77440
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982173

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

Preview Lab → · Contrast checker → · Palette generator →

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