#972875#972875

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

Color values

HEX#972875
RGBrgb(151, 40, 117)
HSLhsl(318, 58%, 37%)
HSVhsv(318, 74%, 59%)
CMYKcmyk(0%, 73.5%, 22.5%, 40.8%)
CIE-LABlab(36.71, 53.02, -18.39)
CIE-LCHlch(36.71, 56.12, 340.88°)
OKLaboklab(47.65% 0.1595 -0.0492)
OKLCHoklch(47.65% 0.167 342.8)
XYZxyz(16.7328, 9.3830, 17.7560)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972875 #28974A
analogous
#812897 #972875 #97283E
triadic
#972875 #759728 #287597
tetradic
#972875 #978128 #28974A #283E97
square
#972875 #978128 #28974A #283E97
split-complementary
#972875 #3E9728 #289781
monochromatic
#360E2A #671B50 #972875 #C7359A #D664B3

Accessibility & contrast

On white

7.30
#972875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#972875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972875
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972875#FFFFFF#000000##FFFFFF
##9728751.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B77
Deuteranopia (green-blind)
#555D72
Tritanopia (blue-blind)
#A1294B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972875;
/* rgb */ color: rgb(151, 40, 117);
/* oklch */ color: oklch(47.6% 0.167 342.8);
Tailwind
colors: {
  custom: {
    50: '#b96d9d',
    500: '#972875',
    950: '#000000',
  },
}
SCSS
$custom: #972875;
$custom-light: #b96d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#972875",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 318.378,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47649,
    "c": 0.16691,
    "h": 342.8
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#972875
secondary
#5FBC7B
accent
#E17646
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972875

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

Preview Lab → · Contrast checker → · Palette generator →

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