#972277#972277

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

Color values

HEX#972277
RGBrgb(151, 34, 119)
HSLhsl(316, 63%, 36%)
HSVhsv(316, 77%, 59%)
CMYKcmyk(0%, 77.5%, 21.2%, 40.8%)
CIE-LABlab(36.09, 55.31, -20.59)
CIE-LCHlch(36.09, 59.02, 339.58°)
OKLaboklab(47.23% 0.166 -0.0554)
OKLCHoklch(47.23% 0.175 341.5)
XYZxyz(16.6649, 9.0570, 18.3197)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972277 #229742
analogous
#7D2297 #972277 #97223D
triadic
#972277 #779722 #227797
tetradic
#972277 #977D22 #229742 #223D97
square
#972277 #977D22 #229742 #223D97
split-complementary
#972277 #3D9722 #22977D
monochromatic
#330C28 #651750 #972277 #C92D9E #DA5AB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972277#FFFFFF#000000##FFFFFF
##9722771.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)
#2D4979
Deuteranopia (green-blind)
#525C74
Tritanopia (blue-blind)
#A1244A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972277;
/* rgb */ color: rgb(151, 34, 119);
/* oklch */ color: oklch(47.2% 0.175 341.5);
Tailwind
colors: {
  custom: {
    50: '#b96a9e',
    500: '#972277',
    950: '#000000',
  },
}
SCSS
$custom: #972277;
$custom-light: #b96a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#972277",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 316.41,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47231,
    "c": 0.17497,
    "h": 341.5
  },
  "luminance": 0.09055
}

Semantic roles & 50–950 ramp

primary
#972277
secondary
#57BE73
accent
#E66F42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972277

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

Preview Lab → · Contrast checker → · Palette generator →

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