#972E7E#972E7E

#972E7E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.165 H 338.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#972E7E
RGBrgb(151, 46, 126)
HSLhsl(314, 53%, 39%)
HSVhsv(314, 70%, 59%)
CMYKcmyk(0%, 69.5%, 16.6%, 40.8%)
CIE-LABlab(37.92, 52.08, -22.14)
CIE-LCHlch(37.92, 56.59, 336.97°)
OKLaboklab(48.66% 0.1542 -0.0599)
OKLCHoklch(48.66% 0.165 338.8)
XYZxyz(17.5058, 10.0413, 20.7508)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972E7E #2E9747
analogous
#7B2E97 #972E7E #972E49
triadic
#972E7E #7E972E #2E7E97
tetradic
#972E7E #977B2E #2E9747 #2E4997
square
#972E7E #977B2E #2E9747 #2E4997
split-complementary
#972E7E #49972E #2E977B
monochromatic
#391130 #682057 #972E7E #C43EA4 #D26DBA

Accessibility & contrast

On white

6.98
#972E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#972E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972E7E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972E7E#FFFFFF#000000##FFFFFF
##972E7E1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A03252
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972e7e;
/* rgb */ color: rgb(151, 46, 126);
/* oklch */ color: oklch(48.7% 0.165 338.8);
Tailwind
colors: {
  custom: {
    50: '#b970a3',
    500: '#972e7e',
    950: '#000000',
  },
}
SCSS
$custom: #972e7e;
$custom-light: #b970a3;
$custom-dark: #000000;
JSON
{
  "hex": "#972e7e",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 314.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48659,
    "c": 0.16545,
    "h": 338.8
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#972E7E
secondary
#67BA7B
accent
#DD6E4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #972E7E

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

Preview Lab → · Contrast checker → · Palette generator →

#972E7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva