#972182#972182

#972182 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.183 H 336.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#972182
RGBrgb(151, 33, 130)
HSLhsl(311, 64%, 36%)
HSVhsv(311, 78%, 59%)
CMYKcmyk(0%, 78.1%, 13.9%, 40.8%)
CIE-LABlab(36.52, 57.18, -26.80)
CIE-LCHlch(36.52, 63.15, 334.89°)
OKLaboklab(47.71% 0.1682 -0.073)
OKLCHoklch(47.71% 0.183 336.5)
XYZxyz(17.3359, 9.2804, 21.9930)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972182 #219736
analogous
#712197 #972182 #972147
triadic
#972182 #829721 #218297
tetradic
#972182 #977121 #219736 #214797
square
#972182 #977121 #219736 #214797
split-complementary
#972182 #479721 #219771
monochromatic
#330B2C #651657 #972182 #C92CAD #DA58C3

Accessibility & contrast

On white

7.35
#972182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#972182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972182
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972182#FFFFFF#000000##FFFFFF
##9721821.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#4E5C7F
Tritanopia (blue-blind)
#9F2A50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972182;
/* rgb */ color: rgb(151, 33, 130);
/* oklch */ color: oklch(47.7% 0.183 336.5);
Tailwind
colors: {
  custom: {
    50: '#b96aa6',
    500: '#972182',
    950: '#000000',
  },
}
SCSS
$custom: #972182;
$custom-light: #b96aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#972182",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 310.678,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4771,
    "c": 0.18341,
    "h": 336.5
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#972182
secondary
#55BE68
accent
#E75E41
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972182

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

Preview Lab → · Contrast checker → · Palette generator →

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