#972781#972781

#972781 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.176 H 337.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#972781
RGBrgb(151, 39, 129)
HSLhsl(312, 59%, 37%)
HSVhsv(312, 74%, 59%)
CMYKcmyk(0%, 74.2%, 14.6%, 40.8%)
CIE-LABlab(37.15, 55.10, -25.20)
CIE-LCHlch(37.15, 60.59, 335.43°)
OKLaboklab(48.15% 0.1624 -0.0685)
OKLCHoklch(48.15% 0.176 337.1)
XYZxyz(17.4508, 9.6169, 21.7018)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972781 #27973D
analogous
#752797 #972781 #972749
triadic
#972781 #819727 #278197
tetradic
#972781 #977527 #27973D #274997
square
#972781 #977527 #27973D #274997
split-complementary
#972781 #499727 #279775
monochromatic
#360E2E #661A57 #972781 #C834AB #D662C0

Accessibility & contrast

On white

7.18
#972781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#972781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972781
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972781#FFFFFF#000000##FFFFFF
##9727811.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C83
Deuteranopia (green-blind)
#505E7E
Tritanopia (blue-blind)
#9F2E51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972781;
/* rgb */ color: rgb(151, 39, 129);
/* oklch */ color: oklch(48.1% 0.176 337.1);
Tailwind
colors: {
  custom: {
    50: '#b96da6',
    500: '#972781',
    950: '#000000',
  },
}
SCSS
$custom: #972781;
$custom-light: #b96da6;
$custom-dark: #000000;
JSON
{
  "hex": "#972781",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 311.786,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48146,
    "c": 0.17622,
    "h": 337.1
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#972781
secondary
#5EBC70
accent
#E26446
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #972781

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

Preview Lab → · Contrast checker → · Palette generator →

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