#972851#972851

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

Color values

HEX#972851
RGBrgb(151, 40, 81)
HSLhsl(338, 58%, 37%)
HSVhsv(338, 74%, 59%)
CMYKcmyk(0%, 73.5%, 46.4%, 40.8%)
CIE-LABlab(35.39, 48.76, 2.55)
CIE-LCHlch(35.39, 48.82, 3.00°)
OKLaboklab(46.25% 0.1493 0.0071)
OKLCHoklch(46.25% 0.149 2.7)
XYZxyz(15.0077, 8.6929, 8.6706)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972851 #28976E
analogous
#972888 #972851 #973728
triadic
#972851 #519728 #285197
tetradic
#972851 #889728 #28976E #372897
square
#972851 #889728 #28976E #372897
split-complementary
#972851 #289737 #288897
monochromatic
#360E1D #671B37 #972851 #C7356B #D6648E

Accessibility & contrast

On white

7.67
#972851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#972851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972851
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972851#FFFFFF#000000##FFFFFF
##9728511.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414552
Deuteranopia (green-blind)
#5E5B4E
Tritanopia (blue-blind)
#A41539
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972851;
/* rgb */ color: rgb(151, 40, 81);
/* oklch */ color: oklch(46.2% 0.149 2.7);
Tailwind
colors: {
  custom: {
    50: '#bb6b81',
    500: '#972851',
    950: '#000000',
  },
}
SCSS
$custom: #972851;
$custom-light: #bb6b81;
$custom-dark: #000000;
JSON
{
  "hex": "#972851",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 337.838,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.14947,
    "h": 2.7
  },
  "luminance": 0.08691
}

Semantic roles & 50–950 ramp

primary
#972851
secondary
#5FBC99
accent
#E1A846
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #972851

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

Preview Lab → · Contrast checker → · Palette generator →

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