#972058#972058

#972058 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.161 H 357.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#972058
RGBrgb(151, 32, 88)
HSLhsl(332, 65%, 36%)
HSVhsv(332, 79%, 59%)
CMYKcmyk(0%, 78.8%, 41.7%, 40.8%)
CIE-LABlab(34.64, 52.18, -3.06)
CIE-LCHlch(34.64, 52.27, 356.64°)
OKLaboklab(45.77% 0.1604 -0.0074)
OKLCHoklch(45.77% 0.161 357.4)
XYZxyz(15.0416, 8.3189, 10.0442)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972058 #20975F
analogous
#972093 #972058 #972420
triadic
#972058 #589720 #205897
tetradic
#972058 #939720 #20975F #242097
square
#972058 #939720 #20975F #242097
split-complementary
#972058 #209724 #209397
monochromatic
#320B1D #64153B #972058 #C92B75 #DB5695

Accessibility & contrast

On white

7.88
#972058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#972058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972058
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972058#FFFFFF#000000##FFFFFF
##9720581.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4359
Deuteranopia (green-blind)
#5B5955
Tritanopia (blue-blind)
#A40C39
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972058;
/* rgb */ color: rgb(151, 32, 88);
/* oklch */ color: oklch(45.8% 0.161 357.4);
Tailwind
colors: {
  custom: {
    50: '#bb6887',
    500: '#972058',
    950: '#000000',
  },
}
SCSS
$custom: #972058;
$custom-light: #bb6887;
$custom-dark: #000000;
JSON
{
  "hex": "#972058",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 331.765,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45768,
    "c": 0.1606,
    "h": 357.4
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#972058
secondary
#54BF8D
accent
#E89940
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #972058

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

Preview Lab → · Contrast checker → · Palette generator →

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