#972978#972978

#972978 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.168 H 341.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#972978
RGBrgb(151, 41, 120)
HSLhsl(317, 57%, 38%)
HSVhsv(317, 73%, 59%)
CMYKcmyk(0%, 72.8%, 20.5%, 40.8%)
CIE-LABlab(36.97, 53.09, -19.86)
CIE-LCHlch(36.97, 56.68, 339.49°)
OKLaboklab(47.88% 0.1589 -0.0534)
OKLCHoklch(47.88% 0.168 341.4)
XYZxyz(16.9461, 9.5229, 18.7113)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972978 #299748
analogous
#7F2997 #972978 #972941
triadic
#972978 #789729 #297897
tetradic
#972978 #977F29 #299748 #294197
square
#972978 #977F29 #299748 #294197
split-complementary
#972978 #419729 #29977F
monochromatic
#370F2B #671C52 #972978 #C7369E #D565B6

Accessibility & contrast

On white

7.23
#972978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#972978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972978
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972978#FFFFFF#000000##FFFFFF
##9729781.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7A
Deuteranopia (green-blind)
#555D75
Tritanopia (blue-blind)
#A02B4D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972978;
/* rgb */ color: rgb(151, 41, 120);
/* oklch */ color: oklch(47.9% 0.168 341.4);
Tailwind
colors: {
  custom: {
    50: '#b96d9f',
    500: '#972978',
    950: '#000000',
  },
}
SCSS
$custom: #972978;
$custom-light: #b96d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#972978",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 316.909,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47883,
    "c": 0.16766,
    "h": 341.4
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#972978
secondary
#61BB7A
accent
#E17247
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972978

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

Preview Lab → · Contrast checker → · Palette generator →

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