#972542#972542

#972542 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.150 H 10.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#972542
RGBrgb(151, 37, 66)
HSLhsl(345, 61%, 37%)
HSVhsv(345, 75%, 59%)
CMYKcmyk(0%, 75.5%, 56.3%, 40.8%)
CIE-LABlab(34.60, 48.52, 11.14)
CIE-LCHlch(34.60, 49.78, 12.93°)
OKLaboklab(45.53% 0.147 0.0281)
OKLCHoklch(45.53% 0.15 10.8)
XYZxyz(14.4088, 8.2978, 5.9961)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972542 #25977A
analogous
#97257B #972542 #974125
triadic
#972542 #429725 #254297
tetradic
#972542 #7B9725 #25977A #412597
square
#972542 #7B9725 #25977A #412597
split-complementary
#972542 #259741 #257B97
monochromatic
#350D17 #66192D #972542 #C83157 #D85F7D

Accessibility & contrast

On white

7.90
#972542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#972542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972542
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972542#FFFFFF#000000##FFFFFF
##9725421.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434342
Deuteranopia (green-blind)
#605A3F
Tritanopia (blue-blind)
#A50331
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972542;
/* rgb */ color: rgb(151, 37, 66);
/* oklch */ color: oklch(45.5% 0.150 10.8);
Tailwind
colors: {
  custom: {
    50: '#bc6a76',
    500: '#972542',
    950: '#000000',
  },
}
SCSS
$custom: #972542;
$custom-light: #bc6a76;
$custom-dark: #000000;
JSON
{
  "hex": "#972542",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 344.737,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4553,
    "c": 0.14964,
    "h": 10.8
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#972542
secondary
#5BBDA4
accent
#E4BB44
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #972542

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

Preview Lab → · Contrast checker → · Palette generator →

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