#972951#972951

#972951 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.3% C 0.148 H 2.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#972951
RGBrgb(151, 41, 81)
HSLhsl(338, 57%, 38%)
HSVhsv(338, 73%, 59%)
CMYKcmyk(0%, 72.8%, 46.4%, 40.8%)
CIE-LABlab(35.52, 48.38, 2.75)
CIE-LCHlch(35.52, 48.46, 3.25°)
OKLaboklab(46.34% 0.1481 0.0076)
OKLCHoklch(46.34% 0.148 2.9)
XYZxyz(15.0418, 8.7612, 8.6820)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972951 #29976F
analogous
#972988 #972951 #973829
triadic
#972951 #519729 #295197
tetradic
#972951 #889729 #29976F #382997
square
#972951 #889729 #29976F #382997
split-complementary
#972951 #299738 #298897
monochromatic
#370F1D #671C37 #972951 #C7366B #D5658E

Accessibility & contrast

On white

7.63
#972951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#972951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972951
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972951#FFFFFF#000000##FFFFFF
##9729511.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414652
Deuteranopia (green-blind)
#5F5B4E
Tritanopia (blue-blind)
#A4173A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972951;
/* rgb */ color: rgb(151, 41, 81);
/* oklch */ color: oklch(46.3% 0.148 2.9);
Tailwind
colors: {
  custom: {
    50: '#bb6c81',
    500: '#972951',
    950: '#000000',
  },
}
SCSS
$custom: #972951;
$custom-light: #bb6c81;
$custom-dark: #000000;
JSON
{
  "hex": "#972951",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 338.182,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46344,
    "c": 0.14829,
    "h": 2.9
  },
  "luminance": 0.08759
}

Semantic roles & 50–950 ramp

primary
#972951
secondary
#61BB9A
accent
#E1A947
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #972951

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

Preview Lab → · Contrast checker → · Palette generator →

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