#972272#972272

#972272 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.172 H 343.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#972272
RGBrgb(151, 34, 114)
HSLhsl(319, 63%, 36%)
HSVhsv(319, 77%, 59%)
CMYKcmyk(0%, 77.5%, 24.5%, 40.8%)
CIE-LABlab(35.87, 54.63, -17.80)
CIE-LCHlch(35.87, 57.46, 341.95°)
OKLaboklab(46.99% 0.1651 -0.0475)
OKLCHoklch(46.99% 0.172 343.9)
XYZxyz(16.3724, 8.9400, 16.7797)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972272 #229747
analogous
#822297 #972272 #972238
triadic
#972272 #729722 #227297
tetradic
#972272 #978222 #229747 #223897
square
#972272 #978222 #229747 #223897
split-complementary
#972272 #389722 #229782
monochromatic
#330C27 #65174C #972272 #C92D98 #DA5AB1

Accessibility & contrast

On white

7.53
#972272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#972272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972272
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972272#FFFFFF#000000##FFFFFF
##9722721.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#545B6F
Tritanopia (blue-blind)
#A12147
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972272;
/* rgb */ color: rgb(151, 34, 114);
/* oklch */ color: oklch(47.0% 0.172 343.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a9a',
    500: '#972272',
    950: '#000000',
  },
}
SCSS
$custom: #972272;
$custom-light: #ba6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#972272",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 318.974,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46994,
    "c": 0.17182,
    "h": 343.9
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#972272
secondary
#57BE77
accent
#E67642
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972272

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

Preview Lab → · Contrast checker → · Palette generator →

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