#972952#972952

#972952 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.149 H 2.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#972952
RGBrgb(151, 41, 82)
HSLhsl(338, 57%, 38%)
HSVhsv(338, 73%, 59%)
CMYKcmyk(0%, 72.8%, 45.7%, 40.8%)
CIE-LABlab(35.55, 48.48, 2.14)
CIE-LCHlch(35.55, 48.53, 2.53°)
OKLaboklab(46.38% 0.1485 0.0061)
OKLCHoklch(46.38% 0.149 2.3)
XYZxyz(15.0796, 8.7763, 8.8809)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972952 #29976E
analogous
#972989 #972952 #973729
triadic
#972952 #529729 #295297
tetradic
#972952 #899729 #29976E #372997
square
#972952 #899729 #29976E #372997
split-complementary
#972952 #299737 #298997
monochromatic
#370F1E #671C38 #972952 #C7366C #D5658F

Accessibility & contrast

On white

7.62
#972952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#972952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972952
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972952#FFFFFF#000000##FFFFFF
##9729521.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#5F5B4F
Tritanopia (blue-blind)
#A4173A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972952;
/* rgb */ color: rgb(151, 41, 82);
/* oklch */ color: oklch(46.4% 0.149 2.3);
Tailwind
colors: {
  custom: {
    50: '#ba6c82',
    500: '#972952',
    950: '#000000',
  },
}
SCSS
$custom: #972952;
$custom-light: #ba6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#972952",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 337.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.14859,
    "h": 2.3
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#972952
secondary
#61BB99
accent
#E1A747
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #972952

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

Preview Lab → · Contrast checker → · Palette generator →

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