#972472#972472

#972472 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.170 H 344.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#972472
RGBrgb(151, 36, 114)
HSLhsl(319, 61%, 37%)
HSVhsv(319, 76%, 59%)
CMYKcmyk(0%, 76.2%, 24.5%, 40.8%)
CIE-LABlab(36.10, 53.99, -17.45)
CIE-LCHlch(36.10, 56.74, 342.09°)
OKLaboklab(47.16% 0.1631 -0.0466)
OKLCHoklch(47.16% 0.17 344.1)
XYZxyz(16.4313, 9.0577, 16.7993)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972472 #249749
analogous
#832497 #972472 #972439
triadic
#972472 #729724 #247297
tetradic
#972472 #978324 #249749 #243997
square
#972472 #978324 #249749 #243997
split-complementary
#972472 #399724 #249783
monochromatic
#340C27 #66184D #972472 #C83097 #D85DB1

Accessibility & contrast

On white

7.47
#972472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#972472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972472
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972472#FFFFFF#000000##FFFFFF
##9724721.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314974
Deuteranopia (green-blind)
#555C6F
Tritanopia (blue-blind)
#A12348
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972472;
/* rgb */ color: rgb(151, 36, 114);
/* oklch */ color: oklch(47.2% 0.170 344.1);
Tailwind
colors: {
  custom: {
    50: '#b96b9a',
    500: '#972472',
    950: '#000000',
  },
}
SCSS
$custom: #972472;
$custom-light: #b96b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#972472",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 319.304,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47159,
    "c": 0.16965,
    "h": 344.1
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#972472
secondary
#5ABD7A
accent
#E57743
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972472

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

Preview Lab → · Contrast checker → · Palette generator →

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