#972151#972151

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

Color values

HEX#972151
RGBrgb(151, 33, 81)
HSLhsl(336, 64%, 36%)
HSVhsv(336, 78%, 59%)
CMYKcmyk(0%, 78.1%, 46.4%, 40.8%)
CIE-LABlab(34.52, 51.17, 1.30)
CIE-LCHlch(34.52, 51.19, 1.46°)
OKLaboklab(45.61% 0.1571 0.0039)
OKLCHoklch(45.61% 0.157 1.4)
XYZxyz(14.7928, 8.2631, 8.5990)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972151 #219767
analogous
#97218C #972151 #972C21
triadic
#972151 #519721 #215197
tetradic
#972151 #8C9721 #219767 #2C2197
square
#972151 #8C9721 #219767 #2C2197
split-complementary
#972151 #21972C #218C97
monochromatic
#330B1B #651636 #972151 #C92C6C #DA588D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972151#FFFFFF#000000##FFFFFF
##9721511.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)
#3D4352
Deuteranopia (green-blind)
#5C594E
Tritanopia (blue-blind)
#A40736
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972151;
/* rgb */ color: rgb(151, 33, 81);
/* oklch */ color: oklch(45.6% 0.157 1.4);
Tailwind
colors: {
  custom: {
    50: '#bb6881',
    500: '#972151',
    950: '#000000',
  },
}
SCSS
$custom: #972151;
$custom-light: #bb6881;
$custom-dark: #000000;
JSON
{
  "hex": "#972151",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 335.593,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45611,
    "c": 0.1571,
    "h": 1.4
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#972151
secondary
#55BE94
accent
#E7A341
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #972151

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

Preview Lab → · Contrast checker → · Palette generator →

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