#972057#972057

#972057 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.160 H 357.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#972057
RGBrgb(151, 32, 87)
HSLhsl(332, 65%, 36%)
HSVhsv(332, 79%, 59%)
CMYKcmyk(0%, 78.8%, 42.4%, 40.8%)
CIE-LABlab(34.60, 52.08, -2.46)
CIE-LCHlch(34.60, 52.14, 357.29°)
OKLaboklab(45.73% 0.1601 -0.0058)
OKLCHoklch(45.73% 0.16 357.9)
XYZxyz(15.0004, 8.3024, 9.8276)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972057 #209760
analogous
#972092 #972057 #972520
triadic
#972057 #579720 #205797
tetradic
#972057 #929720 #209760 #252097
square
#972057 #929720 #209760 #252097
split-complementary
#972057 #209725 #209297
monochromatic
#320B1D #64153A #972057 #C92B74 #DB5694

Accessibility & contrast

On white

7.89
#972057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972057
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972057#FFFFFF#000000##FFFFFF
##9720571.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4358
Deuteranopia (green-blind)
#5B5954
Tritanopia (blue-blind)
#A40B39
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972057;
/* rgb */ color: rgb(151, 32, 87);
/* oklch */ color: oklch(45.7% 0.160 357.9);
Tailwind
colors: {
  custom: {
    50: '#bb6886',
    500: '#972057',
    950: '#000000',
  },
}
SCSS
$custom: #972057;
$custom-light: #bb6886;
$custom-dark: #000000;
JSON
{
  "hex": "#972057",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 332.269,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45732,
    "c": 0.16021,
    "h": 357.9
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #972057

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

Preview Lab → · Contrast checker → · Palette generator →

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