#972081#972081

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

Color values

HEX#972081
RGBrgb(151, 32, 129)
HSLhsl(311, 65%, 36%)
HSVhsv(311, 79%, 59%)
CMYKcmyk(0%, 78.8%, 14.6%, 40.8%)
CIE-LABlab(36.36, 57.33, -26.42)
CIE-LCHlch(36.36, 63.13, 335.26°)
OKLaboklab(47.58% 0.169 -0.0719)
OKLCHoklch(47.58% 0.184 336.9)
XYZxyz(17.2418, 9.1990, 21.6321)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972081 #209736
analogous
#712097 #972081 #972046
triadic
#972081 #819720 #208197
tetradic
#972081 #977120 #209736 #204697
square
#972081 #977120 #209736 #204697
split-complementary
#972081 #469720 #209771
monochromatic
#320B2B #641556 #972081 #C92BAC #DB56C3

Accessibility & contrast

On white

7.40
#972081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972081
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972081#FFFFFF#000000##FFFFFF
##9720811.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A84
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#9F284F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972081;
/* rgb */ color: rgb(151, 32, 129);
/* oklch */ color: oklch(47.6% 0.184 336.9);
Tailwind
colors: {
  custom: {
    50: '#b96aa6',
    500: '#972081',
    950: '#000000',
  },
}
SCSS
$custom: #972081;
$custom-light: #b96aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#972081",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 311.092,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47583,
    "c": 0.18371,
    "h": 336.9
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#972081
secondary
#54BF68
accent
#E85F40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972081

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

Preview Lab → · Contrast checker → · Palette generator →

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