#972456#972456

#972456 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.156 H 359.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#972456
RGBrgb(151, 36, 86)
HSLhsl(334, 61%, 37%)
HSVhsv(334, 76%, 59%)
CMYKcmyk(0%, 76.2%, 43%, 40.8%)
CIE-LABlab(35.03, 50.68, -1.19)
CIE-LCHlch(35.03, 50.69, 358.66°)
OKLaboklab(46.04% 0.1556 -0.0025)
OKLCHoklch(46.04% 0.156 359.1)
XYZxyz(15.0742, 8.5149, 9.6520)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972456 #249765
analogous
#972490 #972456 #972C24
triadic
#972456 #569724 #245697
tetradic
#972456 #909724 #249765 #2C2497
square
#972456 #909724 #249765 #2C2497
split-complementary
#972456 #24972C #249097
monochromatic
#340C1E #66183A #972456 #C83072 #D85D93

Accessibility & contrast

On white

7.77
#972456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#972456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972456
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972456#FFFFFF#000000##FFFFFF
##9724561.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4457
Deuteranopia (green-blind)
#5C5A53
Tritanopia (blue-blind)
#A4123A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972456;
/* rgb */ color: rgb(151, 36, 86);
/* oklch */ color: oklch(46.0% 0.156 359.1);
Tailwind
colors: {
  custom: {
    50: '#ba6a85',
    500: '#972456',
    950: '#000000',
  },
}
SCSS
$custom: #972456;
$custom-light: #ba6a85;
$custom-dark: #000000;
JSON
{
  "hex": "#972456",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 333.913,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46035,
    "c": 0.15563,
    "h": 359.1
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#972456
secondary
#5ABD92
accent
#E59E43
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #972456

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

Preview Lab → · Contrast checker → · Palette generator →

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