#972381#972381

#972381 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.181 H 337.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#972381
RGBrgb(151, 35, 129)
HSLhsl(311, 62%, 36%)
HSVhsv(311, 77%, 59%)
CMYKcmyk(0%, 76.8%, 14.6%, 40.8%)
CIE-LABlab(36.68, 56.42, -25.92)
CIE-LCHlch(36.68, 62.09, 335.33°)
OKLaboklab(47.81% 0.1663 -0.0705)
OKLCHoklch(47.81% 0.181 337)
XYZxyz(17.3263, 9.3680, 21.6603)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972381 #239739
analogous
#732397 #972381 #972347
triadic
#972381 #819723 #238197
tetradic
#972381 #977323 #239739 #234797
square
#972381 #977323 #239739 #234797
split-complementary
#972381 #479723 #239773
monochromatic
#340C2C #651757 #972381 #C92FAB #D95BC1

Accessibility & contrast

On white

7.31
#972381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#972381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972381
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972381#FFFFFF#000000##FFFFFF
##9723811.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B84
Deuteranopia (green-blind)
#4F5D7E
Tritanopia (blue-blind)
#9F2B50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972381;
/* rgb */ color: rgb(151, 35, 129);
/* oklch */ color: oklch(47.8% 0.181 337.0);
Tailwind
colors: {
  custom: {
    50: '#b96ba6',
    500: '#972381',
    950: '#000000',
  },
}
SCSS
$custom: #972381;
$custom-light: #b96ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#972381",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 311.379,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.18064,
    "h": 337
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#972381
secondary
#58BE6B
accent
#E56142
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972381

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

Preview Lab → · Contrast checker → · Palette generator →

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