#972154#972154

#972154 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.158 H 359.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#972154
RGBrgb(151, 33, 84)
HSLhsl(334, 64%, 36%)
HSVhsv(334, 78%, 59%)
CMYKcmyk(0%, 78.1%, 44.4%, 40.8%)
CIE-LABlab(34.62, 51.46, -0.50)
CIE-LCHlch(34.62, 51.47, 359.44°)
OKLaboklab(45.71% 0.1581 -0.0007)
OKLCHoklch(45.71% 0.158 359.7)
XYZxyz(14.9077, 8.3091, 9.2046)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972154 #219764
analogous
#97218F #972154 #972921
triadic
#972154 #549721 #215497
tetradic
#972154 #8F9721 #219764 #292197
square
#972154 #8F9721 #219764 #292197
split-complementary
#972154 #219729 #218F97
monochromatic
#330B1C #651638 #972154 #C92C70 #DA5890

Accessibility & contrast

On white

7.89
#972154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#972154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972154
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972154#FFFFFF#000000##FFFFFF
##9721541.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4355
Deuteranopia (green-blind)
#5C5A51
Tritanopia (blue-blind)
#A40A38
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972154;
/* rgb */ color: rgb(151, 33, 84);
/* oklch */ color: oklch(45.7% 0.158 359.7);
Tailwind
colors: {
  custom: {
    50: '#bb6984',
    500: '#972154',
    950: '#000000',
  },
}
SCSS
$custom: #972154;
$custom-light: #bb6984;
$custom-dark: #000000;
JSON
{
  "hex": "#972154",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 334.068,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4571,
    "c": 0.15809,
    "h": 359.7
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#972154
secondary
#55BE91
accent
#E79F41
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #972154

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

Preview Lab → · Contrast checker → · Palette generator →

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