#982178#982178

#982178 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.177 H 341.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#982178
RGBrgb(152, 33, 120)
HSLhsl(316, 64%, 36%)
HSVhsv(316, 78%, 60%)
CMYKcmyk(0%, 78.3%, 21.1%, 40.4%)
CIE-LABlab(36.22, 56.00, -21.02)
CIE-LCHlch(36.22, 59.81, 339.43°)
OKLaboklab(47.37% 0.168 -0.0566)
OKLCHoklch(47.37% 0.177 341.4)
XYZxyz(16.8835, 9.1209, 18.6370)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982178 #219841
analogous
#7D2198 #982178 #98213D
triadic
#982178 #789821 #217898
tetradic
#982178 #987D21 #219841 #213D98
square
#982178 #987D21 #219841 #213D98
split-complementary
#982178 #3D9821 #21987D
monochromatic
#330B29 #661650 #982178 #CA2CA0 #DB59B8

Accessibility & contrast

On white

7.44
#982178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#982178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982178
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982178#FFFFFF#000000##FFFFFF
##9821781.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497A
Deuteranopia (green-blind)
#535C75
Tritanopia (blue-blind)
#A2244A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982178;
/* rgb */ color: rgb(152, 33, 120);
/* oklch */ color: oklch(47.4% 0.177 341.4);
Tailwind
colors: {
  custom: {
    50: '#ba6a9f',
    500: '#982178',
    950: '#000000',
  },
}
SCSS
$custom: #982178;
$custom-light: #ba6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#982178",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 316.134,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47369,
    "c": 0.17728,
    "h": 341.4
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#982178
secondary
#56BF72
accent
#E76D40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982178

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

Preview Lab → · Contrast checker → · Palette generator →

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