#972748#972748

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

Color values

HEX#972748
RGBrgb(151, 39, 72)
HSLhsl(342, 59%, 37%)
HSVhsv(342, 74%, 59%)
CMYKcmyk(0%, 74.2%, 52.3%, 40.8%)
CIE-LABlab(35.00, 48.30, 7.82)
CIE-LCHlch(35.00, 48.92, 9.20°)
OKLaboklab(45.88% 0.1471 0.0202)
OKLCHoklch(45.88% 0.148 7.8)
XYZxyz(14.6590, 8.5002, 6.9984)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972748 #279776
analogous
#972780 #972748 #973E27
triadic
#972748 #489727 #274897
tetradic
#972748 #809727 #279776 #3E2797
square
#972748 #809727 #279776 #3E2797
split-complementary
#972748 #27973E #278097
monochromatic
#360E1A #661A31 #972748 #C8345F #D66284

Accessibility & contrast

On white

7.78
#972748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#972748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972748
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972748#FFFFFF#000000##FFFFFF
##9727481.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424449
Deuteranopia (green-blind)
#605A45
Tritanopia (blue-blind)
#A50D35
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972748;
/* rgb */ color: rgb(151, 39, 72);
/* oklch */ color: oklch(45.9% 0.148 7.8);
Tailwind
colors: {
  custom: {
    50: '#bb6b7a',
    500: '#972748',
    950: '#000000',
  },
}
SCSS
$custom: #972748;
$custom-light: #bb6b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#972748",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 72
  },
  "hsl": {
    "h": 342.321,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45881,
    "c": 0.14844,
    "h": 7.8
  },
  "luminance": 0.08498
}

Semantic roles & 50–950 ramp

primary
#972748
secondary
#5EBCA0
accent
#E2B446
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #972748

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

Preview Lab → · Contrast checker → · Palette generator →

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