#972147#972147

#972147 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.155 H 7.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#972147
RGBrgb(151, 33, 71)
HSLhsl(341, 64%, 36%)
HSVhsv(341, 78%, 59%)
CMYKcmyk(0%, 78.1%, 53%, 40.8%)
CIE-LABlab(34.24, 50.28, 7.40)
CIE-LCHlch(34.24, 50.82, 8.37°)
OKLaboklab(45.31% 0.1533 0.0191)
OKLCHoklch(45.31% 0.155 7.1)
XYZxyz(14.4450, 8.1240, 6.7675)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972147 #219771
analogous
#972182 #972147 #973621
triadic
#972147 #479721 #214797
tetradic
#972147 #829721 #219771 #362197
square
#972147 #829721 #219771 #362197
split-complementary
#972147 #219736 #218297
monochromatic
#330B18 #65162F #972147 #C92C5F #DA5882

Accessibility & contrast

On white

8.00
#972147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#972147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972147
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972147#FFFFFF#000000##FFFFFF
##9721471.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4148
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#A50031
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #972147;
/* rgb */ color: rgb(151, 33, 71);
/* oklch */ color: oklch(45.3% 0.155 7.1);
Tailwind
colors: {
  custom: {
    50: '#bb6879',
    500: '#972147',
    950: '#000000',
  },
}
SCSS
$custom: #972147;
$custom-light: #bb6879;
$custom-dark: #000000;
JSON
{
  "hex": "#972147",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 340.678,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45308,
    "c": 0.15451,
    "h": 7.1
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#972147
secondary
#55BE9D
accent
#E7B241
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #972147

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

Preview Lab → · Contrast checker → · Palette generator →

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