#972159#972159

#972159 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 356.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#972159
RGBrgb(151, 33, 89)
HSLhsl(332, 64%, 36%)
HSVhsv(332, 78%, 59%)
CMYKcmyk(0%, 78.1%, 41.1%, 40.8%)
CIE-LABlab(34.78, 51.97, -3.49)
CIE-LCHlch(34.78, 52.09, 356.16°)
OKLaboklab(45.88% 0.1598 -0.0085)
OKLCHoklch(45.88% 0.16 356.9)
XYZxyz(15.1106, 8.3902, 10.2730)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972159 #21975F
analogous
#972194 #972159 #972421
triadic
#972159 #599721 #215997
tetradic
#972159 #949721 #21975F #242197
square
#972159 #949721 #21975F #242197
split-complementary
#972159 #219724 #219497
monochromatic
#330B1E #65163B #972159 #C92C77 #DA5896

Accessibility & contrast

On white

7.84
#972159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#972159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972159
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972159#FFFFFF#000000##FFFFFF
##9721591.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445A
Deuteranopia (green-blind)
#5B5A56
Tritanopia (blue-blind)
#A40F3A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972159;
/* rgb */ color: rgb(151, 33, 89);
/* oklch */ color: oklch(45.9% 0.160 356.9);
Tailwind
colors: {
  custom: {
    50: '#ba6987',
    500: '#972159',
    950: '#000000',
  },
}
SCSS
$custom: #972159;
$custom-light: #ba6987;
$custom-dark: #000000;
JSON
{
  "hex": "#972159",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 331.525,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45884,
    "c": 0.15998,
    "h": 356.9
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#972159
secondary
#55BE8D
accent
#E79841
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #972159

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

Preview Lab → · Contrast checker → · Palette generator →

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