#972873#972873

#972873 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.166 H 343.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#972873
RGBrgb(151, 40, 115)
HSLhsl(319, 58%, 37%)
HSVhsv(319, 74%, 59%)
CMYKcmyk(0%, 73.5%, 23.8%, 40.8%)
CIE-LABlab(36.62, 52.75, -17.27)
CIE-LCHlch(36.62, 55.50, 341.88°)
OKLaboklab(47.56% 0.1591 -0.0461)
OKLCHoklch(47.56% 0.166 343.8)
XYZxyz(16.6164, 9.3364, 17.1434)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972873 #28974C
analogous
#832897 #972873 #97283C
triadic
#972873 #739728 #287397
tetradic
#972873 #978328 #28974C #283C97
square
#972873 #978328 #28974C #283C97
split-complementary
#972873 #3C9728 #289783
monochromatic
#360E29 #671B4E #972873 #C73598 #D664B1

Accessibility & contrast

On white

7.32
#972873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#972873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972873
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972873#FFFFFF#000000##FFFFFF
##9728731.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#565D70
Tritanopia (blue-blind)
#A1284A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972873;
/* rgb */ color: rgb(151, 40, 115);
/* oklch */ color: oklch(47.6% 0.166 343.8);
Tailwind
colors: {
  custom: {
    50: '#b96d9b',
    500: '#972873',
    950: '#000000',
  },
}
SCSS
$custom: #972873;
$custom-light: #b96d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#972873",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 319.459,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47557,
    "c": 0.16564,
    "h": 343.8
  },
  "luminance": 0.09335
}

Semantic roles & 50–950 ramp

primary
#972873
secondary
#5FBC7D
accent
#E17946
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972873

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

Preview Lab → · Contrast checker → · Palette generator →

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