#972152#972152

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

Color values

HEX#972152
RGBrgb(151, 33, 82)
HSLhsl(335, 64%, 36%)
HSVhsv(335, 78%, 59%)
CMYKcmyk(0%, 78.1%, 45.7%, 40.8%)
CIE-LABlab(34.56, 51.27, 0.70)
CIE-LCHlch(34.56, 51.27, 0.78°)
OKLaboklab(45.64% 0.1574 0.0024)
OKLCHoklch(45.64% 0.157 0.9)
XYZxyz(14.8305, 8.2782, 8.7979)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972152 #219766
analogous
#97218D #972152 #972B21
triadic
#972152 #529721 #215297
tetradic
#972152 #8D9721 #219766 #2B2197
square
#972152 #8D9721 #219766 #2B2197
split-complementary
#972152 #21972B #218D97
monochromatic
#330B1B #651637 #972152 #C92C6D #DA588E

Accessibility & contrast

On white

7.91
#972152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972152
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972152#FFFFFF#000000##FFFFFF
##9721521.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4353
Deuteranopia (green-blind)
#5C594F
Tritanopia (blue-blind)
#A40837
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972152;
/* rgb */ color: rgb(151, 33, 82);
/* oklch */ color: oklch(45.6% 0.157 0.9);
Tailwind
colors: {
  custom: {
    50: '#bb6882',
    500: '#972152',
    950: '#000000',
  },
}
SCSS
$custom: #972152;
$custom-light: #bb6882;
$custom-dark: #000000;
JSON
{
  "hex": "#972152",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 335.085,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45644,
    "c": 0.15742,
    "h": 0.9
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#972152
secondary
#55BE93
accent
#E7A241
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #972152

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

Preview Lab → · Contrast checker → · Palette generator →

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