#982078#982078

#982078 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.178 H 341.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#982078
RGBrgb(152, 32, 120)
HSLhsl(316, 65%, 36%)
HSVhsv(316, 79%, 60%)
CMYKcmyk(0%, 78.9%, 21.1%, 40.4%)
CIE-LABlab(36.11, 56.30, -21.18)
CIE-LCHlch(36.11, 60.15, 339.38°)
OKLaboklab(47.29% 0.1689 -0.057)
OKLCHoklch(47.29% 0.178 341.3)
XYZxyz(16.8561, 9.0662, 18.6279)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982078 #209840
analogous
#7C2098 #982078 #98203C
triadic
#982078 #789820 #207898
tetradic
#982078 #987C20 #209840 #203C98
square
#982078 #987C20 #209840 #203C98
split-complementary
#982078 #3C9820 #20987C
monochromatic
#330B28 #651550 #982078 #CB2BA0 #DC57B8

Accessibility & contrast

On white

7.47
#982078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#982078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982078
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982078#FFFFFF#000000##FFFFFF
##9820781.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497A
Deuteranopia (green-blind)
#525C75
Tritanopia (blue-blind)
#A2234A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982078;
/* rgb */ color: rgb(152, 32, 120);
/* oklch */ color: oklch(47.3% 0.178 341.3);
Tailwind
colors: {
  custom: {
    50: '#ba6a9f',
    500: '#982078',
    950: '#000000',
  },
}
SCSS
$custom: #982078;
$custom-light: #ba6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#982078",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 316,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47293,
    "c": 0.17829,
    "h": 341.3
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#982078
secondary
#54BF71
accent
#E86D40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982078

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

Preview Lab → · Contrast checker → · Palette generator →

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