#972852#972852

#972852 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.150 H 2.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#972852
RGBrgb(151, 40, 82)
HSLhsl(337, 58%, 37%)
HSVhsv(337, 74%, 59%)
CMYKcmyk(0%, 73.5%, 45.7%, 40.8%)
CIE-LABlab(35.42, 48.85, 1.95)
CIE-LCHlch(35.42, 48.89, 2.29°)
OKLaboklab(46.28% 0.1497 0.0056)
OKLCHoklch(46.28% 0.15 2.1)
XYZxyz(15.0454, 8.7080, 8.8695)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972852 #28976D
analogous
#97288A #972852 #973528
triadic
#972852 #529728 #285297
tetradic
#972852 #8A9728 #28976D #352897
square
#972852 #8A9728 #28976D #352897
split-complementary
#972852 #289735 #288A97
monochromatic
#360E1D #671B38 #972852 #C7356C #D6648F

Accessibility & contrast

On white

7.66
#972852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972852
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972852#FFFFFF#000000##FFFFFF
##9728521.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#5E5B4F
Tritanopia (blue-blind)
#A4163A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972852;
/* rgb */ color: rgb(151, 40, 82);
/* oklch */ color: oklch(46.3% 0.150 2.1);
Tailwind
colors: {
  custom: {
    50: '#bb6b82',
    500: '#972852',
    950: '#000000',
  },
}
SCSS
$custom: #972852;
$custom-light: #bb6b82;
$custom-dark: #000000;
JSON
{
  "hex": "#972852",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 337.297,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46277,
    "c": 0.14976,
    "h": 2.1
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #972852

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

Preview Lab → · Contrast checker → · Palette generator →

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