#972874#972874

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

Color values

HEX#972874
RGBrgb(151, 40, 116)
HSLhsl(319, 58%, 37%)
HSVhsv(319, 74%, 59%)
CMYKcmyk(0%, 73.5%, 23.2%, 40.8%)
CIE-LABlab(36.67, 52.89, -17.83)
CIE-LCHlch(36.67, 55.81, 341.37°)
OKLaboklab(47.6% 0.1593 -0.0477)
OKLCHoklch(47.6% 0.166 343.3)
XYZxyz(16.6743, 9.3596, 17.4481)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972874 #28974B
analogous
#832897 #972874 #97283C
triadic
#972874 #749728 #287497
tetradic
#972874 #978328 #28974B #283C97
square
#972874 #978328 #28974B #283C97
split-complementary
#972874 #3C9728 #289783
monochromatic
#360E2A #671B4F #972874 #C73599 #D664B2

Accessibility & contrast

On white

7.31
#972874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972874
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972874#FFFFFF#000000##FFFFFF
##9728741.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B76
Deuteranopia (green-blind)
#565D71
Tritanopia (blue-blind)
#A1284A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972874;
/* rgb */ color: rgb(151, 40, 116);
/* oklch */ color: oklch(47.6% 0.166 343.3);
Tailwind
colors: {
  custom: {
    50: '#b96d9c',
    500: '#972874',
    950: '#000000',
  },
}
SCSS
$custom: #972874;
$custom-light: #b96d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#972874",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 318.919,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47603,
    "c": 0.16627,
    "h": 343.3
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#972874
secondary
#5FBC7C
accent
#E17746
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972874

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

Preview Lab → · Contrast checker → · Palette generator →

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