#972180#972180

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

Color values

HEX#972180
RGBrgb(151, 33, 128)
HSLhsl(312, 64%, 36%)
HSVhsv(312, 78%, 59%)
CMYKcmyk(0%, 78.1%, 15.2%, 40.8%)
CIE-LABlab(36.42, 56.89, -25.71)
CIE-LCHlch(36.42, 62.43, 335.68°)
OKLaboklab(47.61% 0.168 -0.0699)
OKLCHoklch(47.61% 0.182 337.4)
XYZxyz(17.2030, 9.2272, 21.2929)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972180 #219738
analogous
#732197 #972180 #972145
triadic
#972180 #809721 #218097
tetradic
#972180 #977321 #219738 #214597
square
#972180 #977321 #219738 #214597
split-complementary
#972180 #459721 #219773
monochromatic
#330B2B #651655 #972180 #C92CAB #DA58C1

Accessibility & contrast

On white

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

On black

2.85
#972180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##972180#FFFFFF#000000##FFFFFF
##9721801.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#9F294F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972180;
/* rgb */ color: rgb(151, 33, 128);
/* oklch */ color: oklch(47.6% 0.182 337.4);
Tailwind
colors: {
  custom: {
    50: '#b96aa5',
    500: '#972180',
    950: '#000000',
  },
}
SCSS
$custom: #972180;
$custom-light: #b96aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#972180",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 311.695,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.18201,
    "h": 337.4
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#972180
secondary
#55BE6A
accent
#E76141
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972180

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

Preview Lab → · Contrast checker → · Palette generator →

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