#972872#972872

#972872 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.165 H 344.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#972872
RGBrgb(151, 40, 114)
HSLhsl(320, 58%, 37%)
HSVhsv(320, 74%, 59%)
CMYKcmyk(0%, 73.5%, 24.5%, 40.8%)
CIE-LABlab(36.58, 52.61, -16.70)
CIE-LCHlch(36.58, 55.20, 342.39°)
OKLaboklab(47.51% 0.1589 -0.0445)
OKLCHoklch(47.51% 0.165 344.3)
XYZxyz(16.5592, 9.3135, 16.8419)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972872 #28974D
analogous
#842897 #972872 #97283B
triadic
#972872 #729728 #287297
tetradic
#972872 #978428 #28974D #283B97
square
#972872 #978428 #28974D #283B97
split-complementary
#972872 #3B9728 #289784
monochromatic
#360E29 #671B4D #972872 #C73597 #D664B0

Accessibility & contrast

On white

7.34
#972872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972872
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972872#FFFFFF#000000##FFFFFF
##9728721.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#565D6F
Tritanopia (blue-blind)
#A12749
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972872;
/* rgb */ color: rgb(151, 40, 114);
/* oklch */ color: oklch(47.5% 0.165 344.3);
Tailwind
colors: {
  custom: {
    50: '#b96c9a',
    500: '#972872',
    950: '#000000',
  },
}
SCSS
$custom: #972872;
$custom-light: #b96c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#972872",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 320,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47512,
    "c": 0.16501,
    "h": 344.3
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#972872
secondary
#5FBC7E
accent
#E17A46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972872

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

Preview Lab → · Contrast checker → · Palette generator →

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