#972280#972280

#972280 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.181 H 337.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#972280
RGBrgb(151, 34, 128)
HSLhsl(312, 63%, 36%)
HSVhsv(312, 77%, 59%)
CMYKcmyk(0%, 77.5%, 15.2%, 40.8%)
CIE-LABlab(36.52, 56.59, -25.55)
CIE-LCHlch(36.52, 62.08, 335.70°)
OKLaboklab(47.68% 0.1671 -0.0695)
OKLCHoklch(47.68% 0.181 337.4)
XYZxyz(17.2312, 9.2835, 21.3023)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972280 #229739
analogous
#742297 #972280 #972246
triadic
#972280 #809722 #228097
tetradic
#972280 #977422 #229739 #224697
square
#972280 #977422 #229739 #224697
split-complementary
#972280 #469722 #229774
monochromatic
#330C2B #651756 #972280 #C92DAA #DA5AC1

Accessibility & contrast

On white

7.35
#972280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#972280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972280
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972280#FFFFFF#000000##FFFFFF
##9722801.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B83
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#9F294F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972280;
/* rgb */ color: rgb(151, 34, 128);
/* oklch */ color: oklch(47.7% 0.181 337.4);
Tailwind
colors: {
  custom: {
    50: '#b96ba5',
    500: '#972280',
    950: '#000000',
  },
}
SCSS
$custom: #972280;
$custom-light: #b96ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#972280",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 311.795,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47682,
    "c": 0.18099,
    "h": 337.4
  },
  "luminance": 0.09282
}

Semantic roles & 50–950 ramp

primary
#972280
secondary
#57BE6B
accent
#E66242
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972280

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

Preview Lab → · Contrast checker → · Palette generator →

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