#972048#972048

#972048 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.156 H 6.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#972048
RGBrgb(151, 32, 72)
HSLhsl(340, 65%, 36%)
HSVhsv(340, 79%, 59%)
CMYKcmyk(0%, 78.8%, 52.3%, 40.8%)
CIE-LABlab(34.15, 50.68, 6.62)
CIE-LCHlch(34.15, 51.11, 7.45°)
OKLaboklab(45.25% 0.1547 0.0172)
OKLCHoklch(45.25% 0.156 6.4)
XYZxyz(14.4500, 8.0822, 6.9288)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972048 #20976F
analogous
#972083 #972048 #973320
triadic
#972048 #489720 #204897
tetradic
#972048 #839720 #20976F #332097
square
#972048 #839720 #20976F #332097
split-complementary
#972048 #209733 #208397
monochromatic
#320B18 #641530 #972048 #C92B60 #DB5683

Accessibility & contrast

On white

8.03
#972048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#972048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972048
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972048#FFFFFF#000000##FFFFFF
##9720481.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4149
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#A50031
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #972048;
/* rgb */ color: rgb(151, 32, 72);
/* oklch */ color: oklch(45.3% 0.156 6.4);
Tailwind
colors: {
  custom: {
    50: '#bb687a',
    500: '#972048',
    950: '#000000',
  },
}
SCSS
$custom: #972048;
$custom-light: #bb687a;
$custom-dark: #000000;
JSON
{
  "hex": "#972048",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 339.832,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.15569,
    "h": 6.4
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#972048
secondary
#54BF9B
accent
#E8AF40
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #972048

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

Preview Lab → · Contrast checker → · Palette generator →

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