#972281#972281

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

Color values

HEX#972281
RGBrgb(151, 34, 129)
HSLhsl(311, 63%, 36%)
HSVhsv(311, 77%, 59%)
CMYKcmyk(0%, 77.5%, 14.6%, 40.8%)
CIE-LABlab(36.57, 56.73, -26.09)
CIE-LCHlch(36.57, 62.44, 335.30°)
OKLaboklab(47.73% 0.1672 -0.071)
OKLCHoklch(47.73% 0.182 337)
XYZxyz(17.2973, 9.3100, 21.6507)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972281 #229738
analogous
#732297 #972281 #972247
triadic
#972281 #819722 #228197
tetradic
#972281 #977322 #229738 #224797
square
#972281 #977322 #229738 #224797
split-complementary
#972281 #479722 #229773
monochromatic
#330C2C #651756 #972281 #C92DAC #DA5AC2

Accessibility & contrast

On white

7.34
#972281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972281
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972281#FFFFFF#000000##FFFFFF
##9722811.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#4F5C7E
Tritanopia (blue-blind)
#9F2A50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972281;
/* rgb */ color: rgb(151, 34, 129);
/* oklch */ color: oklch(47.7% 0.182 337.0);
Tailwind
colors: {
  custom: {
    50: '#b96ba6',
    500: '#972281',
    950: '#000000',
  },
}
SCSS
$custom: #972281;
$custom-light: #b96ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#972281",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 311.282,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.18169,
    "h": 337
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#972281
secondary
#57BE6A
accent
#E66142
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972281

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

Preview Lab → · Contrast checker → · Palette generator →

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