#972078#972078

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

Color values

HEX#972078
RGBrgb(151, 32, 120)
HSLhsl(316, 65%, 36%)
HSVhsv(316, 79%, 59%)
CMYKcmyk(0%, 78.8%, 20.5%, 40.8%)
CIE-LABlab(35.93, 56.05, -21.48)
CIE-LCHlch(35.93, 60.03, 339.03°)
OKLaboklab(47.13% 0.168 -0.0579)
OKLCHoklch(47.13% 0.178 341)
XYZxyz(16.6697, 8.9701, 18.6192)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972078 #20973F
analogous
#7A2097 #972078 #97203D
triadic
#972078 #789720 #207897
tetradic
#972078 #977A20 #20973F #203D97
square
#972078 #977A20 #20973F #203D97
split-complementary
#972078 #3D9720 #20977A
monochromatic
#320B28 #641550 #972078 #C92BA0 #DB56B9

Accessibility & contrast

On white

7.52
#972078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972078
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972078#FFFFFF#000000##FFFFFF
##9720781.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B487A
Deuteranopia (green-blind)
#515B75
Tritanopia (blue-blind)
#A0234A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972078;
/* rgb */ color: rgb(151, 32, 120);
/* oklch */ color: oklch(47.1% 0.178 341.0);
Tailwind
colors: {
  custom: {
    50: '#b9699f',
    500: '#972078',
    950: '#000000',
  },
}
SCSS
$custom: #972078;
$custom-light: #b9699f;
$custom-dark: #000000;
JSON
{
  "hex": "#972078",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 315.63,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47125,
    "c": 0.17768,
    "h": 341
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#972078
secondary
#54BF70
accent
#E86C40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972078

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

Preview Lab → · Contrast checker → · Palette generator →

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