#972870#972870

#972870 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.164 H 345.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#972870
RGBrgb(151, 40, 112)
HSLhsl(321, 58%, 37%)
HSVhsv(321, 74%, 59%)
CMYKcmyk(0%, 73.5%, 25.8%, 40.8%)
CIE-LABlab(36.50, 52.35, -15.57)
CIE-LCHlch(36.50, 54.61, 343.43°)
OKLaboklab(47.42% 0.1585 -0.0414)
OKLCHoklch(47.42% 0.164 345.4)
XYZxyz(16.4466, 9.2685, 16.2490)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972870 #28974F
analogous
#862897 #972870 #972839
triadic
#972870 #709728 #287097
tetradic
#972870 #978628 #28974F #283997
square
#972870 #978628 #28974F #283997
split-complementary
#972870 #399728 #289786
monochromatic
#360E28 #671B4C #972870 #C73594 #D664AE

Accessibility & contrast

On white

7.36
#972870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#972870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972870
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972870#FFFFFF#000000##FFFFFF
##9728701.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A72
Deuteranopia (green-blind)
#575D6D
Tritanopia (blue-blind)
#A12648
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972870;
/* rgb */ color: rgb(151, 40, 112);
/* oklch */ color: oklch(47.4% 0.164 345.4);
Tailwind
colors: {
  custom: {
    50: '#b96c99',
    500: '#972870',
    950: '#000000',
  },
}
SCSS
$custom: #972870;
$custom-light: #b96c99;
$custom-dark: #000000;
JSON
{
  "hex": "#972870",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 321.081,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47422,
    "c": 0.16378,
    "h": 345.4
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#972870
secondary
#5FBC80
accent
#E17D46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972870

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

Preview Lab → · Contrast checker → · Palette generator →

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