#972082#972082

#972082 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.184 H 336.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#972082
RGBrgb(151, 32, 130)
HSLhsl(311, 65%, 36%)
HSVhsv(311, 79%, 59%)
CMYKcmyk(0%, 78.8%, 13.9%, 40.8%)
CIE-LABlab(36.42, 57.48, -26.96)
CIE-LCHlch(36.42, 63.49, 334.87°)
OKLaboklab(47.64% 0.1691 -0.0735)
OKLCHoklch(47.64% 0.184 336.5)
XYZxyz(17.3086, 9.2257, 21.9839)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972082 #209735
analogous
#702097 #972082 #972046
triadic
#972082 #829720 #208297
tetradic
#972082 #977020 #209735 #204697
square
#972082 #977020 #209735 #204697
split-complementary
#972082 #469720 #209770
monochromatic
#320B2B #641557 #972082 #C92BAD #DB56C4

Accessibility & contrast

On white

7.38
#972082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#972082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972082
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972082#FFFFFF#000000##FFFFFF
##9720821.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A85
Deuteranopia (green-blind)
#4E5C7F
Tritanopia (blue-blind)
#9F2950
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972082;
/* rgb */ color: rgb(151, 32, 130);
/* oklch */ color: oklch(47.6% 0.184 336.5);
Tailwind
colors: {
  custom: {
    50: '#b96aa6',
    500: '#972082',
    950: '#000000',
  },
}
SCSS
$custom: #972082;
$custom-light: #b96aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#972082",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 310.588,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.18439,
    "h": 336.5
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#972082
secondary
#54BF67
accent
#E85D40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972082

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

Preview Lab → · Contrast checker → · Palette generator →

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