#972040#972040

#972040 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.154 H 10.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#972040
RGBrgb(151, 32, 64)
HSLhsl(344, 65%, 36%)
HSVhsv(344, 79%, 59%)
CMYKcmyk(0%, 78.8%, 57.6%, 40.8%)
CIE-LABlab(33.95, 50.04, 11.56)
CIE-LCHlch(33.95, 51.36, 13.00°)
OKLaboklab(45.04% 0.1516 0.029)
OKLCHoklch(45.04% 0.154 10.8)
XYZxyz(14.2058, 7.9846, 5.6426)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972040 #209777
analogous
#97207B #972040 #973C20
triadic
#972040 #409720 #204097
tetradic
#972040 #7B9720 #209777 #3C2097
square
#972040 #7B9720 #209777 #3C2097
split-complementary
#972040 #20973C #207B97
monochromatic
#320B15 #64152B #972040 #C92B55 #DB567A

Accessibility & contrast

On white

8.09
#972040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#972040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972040
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972040#FFFFFF#000000##FFFFFF
##9720401.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#5F593D
Tritanopia (blue-blind)
#A5002E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #972040;
/* rgb */ color: rgb(151, 32, 64);
/* oklch */ color: oklch(45.0% 0.154 10.8);
Tailwind
colors: {
  custom: {
    50: '#bc6874',
    500: '#972040',
    950: '#000000',
  },
}
SCSS
$custom: #972040;
$custom-light: #bc6874;
$custom-dark: #000000;
JSON
{
  "hex": "#972040",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 343.866,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45038,
    "c": 0.15432,
    "h": 10.8
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#972040
secondary
#54BFA2
accent
#E8BB40
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #972040

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

Preview Lab → · Contrast checker → · Palette generator →

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