#972247#972247

#972247 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.154 H 7.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#972247
RGBrgb(151, 34, 71)
HSLhsl(341, 63%, 36%)
HSVhsv(341, 77%, 59%)
CMYKcmyk(0%, 77.5%, 53%, 40.8%)
CIE-LABlab(34.36, 49.95, 7.56)
CIE-LCHlch(34.36, 50.52, 8.61°)
OKLaboklab(45.39% 0.1523 0.0195)
OKLCHoklch(45.39% 0.154 7.3)
XYZxyz(14.4732, 8.1803, 6.7769)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972247 #229772
analogous
#972282 #972247 #973822
triadic
#972247 #479722 #224797
tetradic
#972247 #829722 #229772 #382297
square
#972247 #829722 #229772 #382297
split-complementary
#972247 #229738 #228297
monochromatic
#330C18 #651730 #972247 #C92D5E #DA5A82

Accessibility & contrast

On white

7.97
#972247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#972247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972247
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972247#FFFFFF#000000##FFFFFF
##9722471.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#A50032
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972247;
/* rgb */ color: rgb(151, 34, 71);
/* oklch */ color: oklch(45.4% 0.154 7.3);
Tailwind
colors: {
  custom: {
    50: '#bb6979',
    500: '#972247',
    950: '#000000',
  },
}
SCSS
$custom: #972247;
$custom-light: #bb6979;
$custom-dark: #000000;
JSON
{
  "hex": "#972247",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 341.026,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.15351,
    "h": 7.3
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#972247
secondary
#57BE9D
accent
#E6B242
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #972247

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

Preview Lab → · Contrast checker → · Palette generator →

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