#984078#984078

#984078 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 50.7% C 0.135 H 344.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#984078
RGBrgb(152, 64, 120)
HSLhsl(322, 41%, 42%)
HSVhsv(322, 58%, 60%)
CMYKcmyk(0%, 57.9%, 21.1%, 40.4%)
CIE-LABlab(40.73, 43.50, -14.07)
CIE-LCHlch(40.73, 45.72, 342.07°)
OKLaboklab(50.68% 0.13 -0.0374)
OKLCHoklch(50.68% 0.135 344)
XYZxyz(18.1729, 11.6998, 19.0668)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984078 #409860
analogous
#8C4098 #984078 #98404C
triadic
#984078 #789840 #407898
tetradic
#984078 #988C40 #409860 #404C98
square
#984078 #988C40 #409860 #404C98
split-complementary
#984078 #4C9840 #40988C
monochromatic
#421C34 #6D2E56 #984078 #BA5B98 #CC86B3

Accessibility & contrast

On white

6.29
#984078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#984078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984078
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984078#FFFFFF#000000##FFFFFF
##9840781.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577A
Deuteranopia (green-blind)
#606576
Tritanopia (blue-blind)
#A14056
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #984078;
/* rgb */ color: rgb(152, 64, 120);
/* oklch */ color: oklch(50.7% 0.135 344.0);
Tailwind
colors: {
  custom: {
    50: '#b9799f',
    500: '#984078',
    950: '#000000',
  },
}
SCSS
$custom: #984078;
$custom-light: #b9799f;
$custom-dark: #000000;
JSON
{
  "hex": "#984078",
  "rgb": {
    "r": 152,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 321.818,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50677,
    "c": 0.13531,
    "h": 344
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#984078
secondary
#7DB792
accent
#D18357
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #984078

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

Preview Lab → · Contrast checker → · Palette generator →

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