#972056#972056

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

Color values

HEX#972056
RGBrgb(151, 32, 86)
HSLhsl(333, 65%, 36%)
HSVhsv(333, 79%, 59%)
CMYKcmyk(0%, 78.8%, 43%, 40.8%)
CIE-LABlab(34.57, 51.98, -1.87)
CIE-LCHlch(34.57, 52.01, 357.94°)
OKLaboklab(45.7% 0.1598 -0.0043)
OKLCHoklch(45.7% 0.16 358.5)
XYZxyz(14.9599, 8.2862, 9.6139)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972056 #209761
analogous
#972091 #972056 #972520
triadic
#972056 #569720 #205697
tetradic
#972056 #919720 #209761 #252097
square
#972056 #919720 #209761 #252097
split-complementary
#972056 #209725 #209197
monochromatic
#320B1C #641539 #972056 #C92B73 #DB5693

Accessibility & contrast

On white

7.90
#972056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972056
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972056#FFFFFF#000000##FFFFFF
##9720561.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#5B5953
Tritanopia (blue-blind)
#A40A38
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972056;
/* rgb */ color: rgb(151, 32, 86);
/* oklch */ color: oklch(45.7% 0.160 358.5);
Tailwind
colors: {
  custom: {
    50: '#bb6885',
    500: '#972056',
    950: '#000000',
  },
}
SCSS
$custom: #972056;
$custom-light: #bb6885;
$custom-dark: #000000;
JSON
{
  "hex": "#972056",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 332.773,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45697,
    "c": 0.15984,
    "h": 358.5
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#972056
secondary
#54BF8E
accent
#E89C40
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #972056

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

Preview Lab → · Contrast checker → · Palette generator →

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