#972282#972282

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

Color values

HEX#972282
RGBrgb(151, 34, 130)
HSLhsl(311, 63%, 36%)
HSVhsv(311, 77%, 59%)
CMYKcmyk(0%, 77.5%, 13.9%, 40.8%)
CIE-LABlab(36.62, 56.88, -26.63)
CIE-LCHlch(36.62, 62.81, 334.91°)
OKLaboklab(47.79% 0.1673 -0.0726)
OKLCHoklch(47.79% 0.182 336.5)
XYZxyz(17.3641, 9.3367, 22.0024)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972282 #229737
analogous
#722297 #972282 #972248
triadic
#972282 #829722 #228297
tetradic
#972282 #977222 #229737 #224897
square
#972282 #977222 #229737 #224897
split-complementary
#972282 #489722 #229772
monochromatic
#330C2C #651757 #972282 #C92DAD #DA5AC3

Accessibility & contrast

On white

7.32
#972282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972282
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972282#FFFFFF#000000##FFFFFF
##9722821.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972282;
/* rgb */ color: rgb(151, 34, 130);
/* oklch */ color: oklch(47.8% 0.182 336.5);
Tailwind
colors: {
  custom: {
    50: '#b96ba6',
    500: '#972282',
    950: '#000000',
  },
}
SCSS
$custom: #972282;
$custom-light: #b96ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#972282",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 310.769,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47787,
    "c": 0.18238,
    "h": 336.5
  },
  "luminance": 0.09335
}

Semantic roles & 50–950 ramp

primary
#972282
secondary
#57BE69
accent
#E65F42
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972282

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

Preview Lab → · Contrast checker → · Palette generator →

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