#972270#972270

#972270 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.171 H 344.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#972270
RGBrgb(151, 34, 112)
HSLhsl(320, 63%, 36%)
HSVhsv(320, 77%, 59%)
CMYKcmyk(0%, 77.5%, 25.8%, 40.8%)
CIE-LABlab(35.78, 54.37, -16.67)
CIE-LCHlch(35.78, 56.87, 342.95°)
OKLaboklab(46.9% 0.1647 -0.0444)
OKLCHoklch(46.9% 0.171 344.9)
XYZxyz(16.2599, 8.8950, 16.1867)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972270 #229749
analogous
#842297 #972270 #972236
triadic
#972270 #709722 #227097
tetradic
#972270 #978422 #229749 #223697
square
#972270 #978422 #229749 #223697
split-complementary
#972270 #369722 #229784
monochromatic
#330C26 #65174B #972270 #C92D95 #DA5AAF

Accessibility & contrast

On white

7.56
#972270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#972270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972270
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972270#FFFFFF#000000##FFFFFF
##9722701.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314872
Deuteranopia (green-blind)
#555B6D
Tritanopia (blue-blind)
#A12046
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972270;
/* rgb */ color: rgb(151, 34, 112);
/* oklch */ color: oklch(46.9% 0.171 344.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a99',
    500: '#972270',
    950: '#000000',
  },
}
SCSS
$custom: #972270;
$custom-light: #ba6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#972270",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 320,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.1706,
    "h": 344.9
  },
  "luminance": 0.08893
}

Semantic roles & 50–950 ramp

primary
#972270
secondary
#57BE79
accent
#E67842
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972270

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

Preview Lab → · Contrast checker → · Palette generator →

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