#972879#972879

#972879 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.170 H 340.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#972879
RGBrgb(151, 40, 121)
HSLhsl(316, 58%, 37%)
HSVhsv(316, 74%, 59%)
CMYKcmyk(0%, 73.5%, 19.9%, 40.8%)
CIE-LABlab(36.89, 53.59, -20.61)
CIE-LCHlch(36.89, 57.41, 338.96°)
OKLaboklab(47.84% 0.1602 -0.0555)
OKLCHoklch(47.84% 0.17 340.9)
XYZxyz(16.9730, 9.4790, 19.0212)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972879 #289746
analogous
#7D2897 #972879 #972842
triadic
#972879 #799728 #287997
tetradic
#972879 #977D28 #289746 #284297
square
#972879 #977D28 #289746 #284297
split-complementary
#972879 #429728 #28977D
monochromatic
#360E2B #671B52 #972879 #C735A0 #D664B7

Accessibility & contrast

On white

7.25
#972879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#972879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972879
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972879#FFFFFF#000000##FFFFFF
##9728791.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7B
Deuteranopia (green-blind)
#545D76
Tritanopia (blue-blind)
#A02B4D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972879;
/* rgb */ color: rgb(151, 40, 121);
/* oklch */ color: oklch(47.8% 0.170 340.9);
Tailwind
colors: {
  custom: {
    50: '#b96da0',
    500: '#972879',
    950: '#000000',
  },
}
SCSS
$custom: #972879;
$custom-light: #b96da0;
$custom-dark: #000000;
JSON
{
  "hex": "#972879",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 316.216,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47838,
    "c": 0.16953,
    "h": 340.9
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#972879
secondary
#5FBC78
accent
#E17046
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972879

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

Preview Lab → · Contrast checker → · Palette generator →

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