#972958#972958

#972958 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.151 H 358.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#972958
RGBrgb(151, 41, 88)
HSLhsl(334, 57%, 38%)
HSVhsv(334, 73%, 59%)
CMYKcmyk(0%, 72.8%, 41.7%, 40.8%)
CIE-LABlab(35.74, 49.10, -1.44)
CIE-LCHlch(35.74, 49.12, 358.32°)
OKLaboklab(46.57% 0.1506 -0.0032)
OKLCHoklch(46.57% 0.151 358.8)
XYZxyz(15.3180, 8.8717, 10.1364)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972958 #299768
analogous
#97298F #972958 #973129
triadic
#972958 #589729 #295897
tetradic
#972958 #8F9729 #299768 #312997
square
#972958 #8F9729 #299768 #312997
split-complementary
#972958 #299731 #298F97
monochromatic
#370F20 #671C3C #972958 #C73674 #D56595

Accessibility & contrast

On white

7.57
#972958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#972958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972958
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972958#FFFFFF#000000##FFFFFF
##9729581.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4759
Deuteranopia (green-blind)
#5D5C55
Tritanopia (blue-blind)
#A41B3D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972958;
/* rgb */ color: rgb(151, 41, 88);
/* oklch */ color: oklch(46.6% 0.151 358.8);
Tailwind
colors: {
  custom: {
    50: '#ba6c87',
    500: '#972958',
    950: '#000000',
  },
}
SCSS
$custom: #972958;
$custom-light: #ba6c87;
$custom-dark: #000000;
JSON
{
  "hex": "#972958",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 334.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46574,
    "c": 0.15062,
    "h": 358.8
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#972958
secondary
#61BB94
accent
#E19F47
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #972958

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

Preview Lab → · Contrast checker → · Palette generator →

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