#972054#972054

#972054 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.159 H 359.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#972054
RGBrgb(151, 32, 84)
HSLhsl(334, 65%, 36%)
HSVhsv(334, 79%, 59%)
CMYKcmyk(0%, 78.8%, 44.4%, 40.8%)
CIE-LABlab(34.51, 51.78, -0.67)
CIE-LCHlch(34.51, 51.78, 359.26°)
OKLaboklab(45.63% 0.1591 -0.0011)
OKLCHoklch(45.63% 0.159 359.6)
XYZxyz(14.8804, 8.2544, 9.1955)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972054 #209763
analogous
#97208F #972054 #972820
triadic
#972054 #549720 #205497
tetradic
#972054 #8F9720 #209763 #282097
square
#972054 #8F9720 #209763 #282097
split-complementary
#972054 #209728 #208F97
monochromatic
#320B1C #641538 #972054 #C92B70 #DB5690

Accessibility & contrast

On white

7.92
#972054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#972054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972054
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972054#FFFFFF#000000##FFFFFF
##9720541.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4355
Deuteranopia (green-blind)
#5C5951
Tritanopia (blue-blind)
#A40737
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972054;
/* rgb */ color: rgb(151, 32, 84);
/* oklch */ color: oklch(45.6% 0.159 359.6);
Tailwind
colors: {
  custom: {
    50: '#bb6884',
    500: '#972054',
    950: '#000000',
  },
}
SCSS
$custom: #972054;
$custom-light: #bb6884;
$custom-dark: #000000;
JSON
{
  "hex": "#972054",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 333.782,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45629,
    "c": 0.1591,
    "h": 359.6
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#972054
secondary
#54BF90
accent
#E89F40
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #972054

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

Preview Lab → · Contrast checker → · Palette generator →

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