#972845#972845

#972845 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.147 H 9.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#972845
RGBrgb(151, 40, 69)
HSLhsl(344, 58%, 37%)
HSVhsv(344, 74%, 59%)
CMYKcmyk(0%, 73.5%, 54.3%, 40.8%)
CIE-LABlab(35.06, 47.67, 9.84)
CIE-LCHlch(35.06, 48.68, 11.67°)
OKLaboklab(45.9% 0.1447 0.0251)
OKLCHoklch(45.9% 0.147 9.8)
XYZxyz(14.5968, 8.5286, 6.5066)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972845 #28977A
analogous
#97287D #972845 #974228
triadic
#972845 #459728 #284597
tetradic
#972845 #7D9728 #28977A #422897
square
#972845 #7D9728 #28977A #422897
split-complementary
#972845 #289742 #287D97
monochromatic
#360E19 #671B2F #972845 #C7355B #D66481

Accessibility & contrast

On white

7.76
#972845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#972845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972845
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972845#FFFFFF#000000##FFFFFF
##9728451.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444446
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#A50E34
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972845;
/* rgb */ color: rgb(151, 40, 69);
/* oklch */ color: oklch(45.9% 0.147 9.8);
Tailwind
colors: {
  custom: {
    50: '#bb6b78',
    500: '#972845',
    950: '#000000',
  },
}
SCSS
$custom: #972845;
$custom-light: #bb6b78;
$custom-dark: #000000;
JSON
{
  "hex": "#972845",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 344.324,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.14683,
    "h": 9.8
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#972845
secondary
#5FBCA3
accent
#E1B946
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #972845

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

Preview Lab → · Contrast checker → · Palette generator →

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