#972581#972581

#972581 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.178 H 337.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#972581
RGBrgb(151, 37, 129)
HSLhsl(312, 61%, 37%)
HSVhsv(312, 75%, 59%)
CMYKcmyk(0%, 75.5%, 14.6%, 40.8%)
CIE-LABlab(36.91, 55.78, -25.57)
CIE-LCHlch(36.91, 61.36, 335.38°)
OKLaboklab(47.98% 0.1644 -0.0695)
OKLCHoklch(47.98% 0.178 337.1)
XYZxyz(17.3868, 9.4890, 21.6805)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972581 #25973B
analogous
#742597 #972581 #972548
triadic
#972581 #819725 #258197
tetradic
#972581 #977425 #25973B #254897
square
#972581 #977425 #25973B #254897
split-complementary
#972581 #489725 #259774
monochromatic
#350D2D #661957 #972581 #C831AB #D85FC0

Accessibility & contrast

On white

7.25
#972581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#972581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972581
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972581#FFFFFF#000000##FFFFFF
##9725811.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#9F2C50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972581;
/* rgb */ color: rgb(151, 37, 129);
/* oklch */ color: oklch(48.0% 0.178 337.1);
Tailwind
colors: {
  custom: {
    50: '#b96ca6',
    500: '#972581',
    950: '#000000',
  },
}
SCSS
$custom: #972581;
$custom-light: #b96ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#972581",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 129
  },
  "hsl": {
    "h": 311.579,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.17848,
    "h": 337.1
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#972581
secondary
#5BBD6E
accent
#E46344
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972581

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

Preview Lab → · Contrast checker → · Palette generator →

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