#972754#972754

#972754 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.152 H 0.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#972754
RGBrgb(151, 39, 84)
HSLhsl(336, 59%, 37%)
HSVhsv(336, 74%, 59%)
CMYKcmyk(0%, 74.2%, 44.4%, 40.8%)
CIE-LABlab(35.35, 49.42, 0.56)
CIE-LCHlch(35.35, 49.42, 0.65°)
OKLaboklab(46.25% 0.1516 0.002)
OKLCHoklch(46.25% 0.152 0.8)
XYZxyz(15.0894, 8.6724, 9.2651)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972754 #27976A
analogous
#97278C #972754 #973227
triadic
#972754 #549727 #275497
tetradic
#972754 #8C9727 #27976A #322797
square
#972754 #8C9727 #27976A #322797
split-complementary
#972754 #279732 #278C97
monochromatic
#360E1E #661A39 #972754 #C8346F #D66291

Accessibility & contrast

On white

7.68
#972754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#972754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972754
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972754#FFFFFF#000000##FFFFFF
##9727541.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4555
Deuteranopia (green-blind)
#5E5B51
Tritanopia (blue-blind)
#A4153A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972754;
/* rgb */ color: rgb(151, 39, 84);
/* oklch */ color: oklch(46.2% 0.152 0.8);
Tailwind
colors: {
  custom: {
    50: '#ba6b84',
    500: '#972754',
    950: '#000000',
  },
}
SCSS
$custom: #972754;
$custom-light: #ba6b84;
$custom-dark: #000000;
JSON
{
  "hex": "#972754",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 335.893,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.15156,
    "h": 0.8
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#972754
secondary
#5EBC96
accent
#E2A346
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070A
muted
#817A7C

Preview Lab

Preview with #972754

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

Preview Lab → · Contrast checker → · Palette generator →

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