#972042#972042

#972042 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.155 H 9.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#972042
RGBrgb(151, 32, 66)
HSLhsl(343, 65%, 36%)
HSVhsv(343, 79%, 59%)
CMYKcmyk(0%, 78.8%, 56.3%, 40.8%)
CIE-LABlab(34.00, 50.19, 10.32)
CIE-LCHlch(34.00, 51.24, 11.62°)
OKLaboklab(45.09% 0.1524 0.0261)
OKLCHoklch(45.09% 0.155 9.7)
XYZxyz(14.2637, 8.0077, 5.9478)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972042 #209775
analogous
#97207D #972042 #973920
triadic
#972042 #429720 #204297
tetradic
#972042 #7D9720 #209775 #392097
square
#972042 #7D9720 #209775 #392097
split-complementary
#972042 #209739 #207D97
monochromatic
#320B16 #64152C #972042 #C92B58 #DB567C

Accessibility & contrast

On white

8.07
#972042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972042
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972042#FFFFFF#000000##FFFFFF
##9720421.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404143
Deuteranopia (green-blind)
#5F593F
Tritanopia (blue-blind)
#A5002F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #972042;
/* rgb */ color: rgb(151, 32, 66);
/* oklch */ color: oklch(45.1% 0.155 9.7);
Tailwind
colors: {
  custom: {
    50: '#bc6876',
    500: '#972042',
    950: '#000000',
  },
}
SCSS
$custom: #972042;
$custom-light: #bc6876;
$custom-dark: #000000;
JSON
{
  "hex": "#972042",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 342.857,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.15459,
    "h": 9.7
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#972042
secondary
#54BFA0
accent
#E8B840
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #972042

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

Preview Lab → · Contrast checker → · Palette generator →

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