#972478#972478

#972478 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.173 H 341.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#972478
RGBrgb(151, 36, 120)
HSLhsl(316, 61%, 37%)
HSVhsv(316, 76%, 59%)
CMYKcmyk(0%, 76.2%, 20.5%, 40.8%)
CIE-LABlab(36.36, 54.81, -20.80)
CIE-LCHlch(36.36, 58.62, 339.22°)
OKLaboklab(47.44% 0.1642 -0.056)
OKLCHoklch(47.44% 0.173 341.2)
XYZxyz(16.7841, 9.1988, 18.6573)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972478 #249743
analogous
#7D2497 #972478 #97243F
triadic
#972478 #789724 #247897
tetradic
#972478 #977D24 #249743 #243F97
square
#972478 #977D24 #249743 #243F97
split-complementary
#972478 #3F9724 #24977D
monochromatic
#340C29 #661851 #972478 #C8309F #D85DB7

Accessibility & contrast

On white

7.40
#972478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#972478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972478
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972478#FFFFFF#000000##FFFFFF
##9724781.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7A
Deuteranopia (green-blind)
#535C75
Tritanopia (blue-blind)
#A0274B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972478;
/* rgb */ color: rgb(151, 36, 120);
/* oklch */ color: oklch(47.4% 0.173 341.2);
Tailwind
colors: {
  custom: {
    50: '#b96b9f',
    500: '#972478',
    950: '#000000',
  },
}
SCSS
$custom: #972478;
$custom-light: #b96b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#972478",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 316.174,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.17346,
    "h": 341.2
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#972478
secondary
#5ABD74
accent
#E56F43
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972478

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

Preview Lab → · Contrast checker → · Palette generator →

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