#972474#972474

#972474 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.171 H 343.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#972474
RGBrgb(151, 36, 116)
HSLhsl(318, 61%, 37%)
HSVhsv(318, 76%, 59%)
CMYKcmyk(0%, 76.2%, 23.2%, 40.8%)
CIE-LABlab(36.18, 54.26, -18.57)
CIE-LCHlch(36.18, 57.35, 341.10°)
OKLaboklab(47.25% 0.1635 -0.0497)
OKLCHoklch(47.25% 0.171 343.1)
XYZxyz(16.5464, 9.1038, 17.4054)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972474 #249747
analogous
#812497 #972474 #97243B
triadic
#972474 #749724 #247497
tetradic
#972474 #978124 #249747 #243B97
square
#972474 #978124 #249747 #243B97
split-complementary
#972474 #3B9724 #249781
monochromatic
#340C28 #66184E #972474 #C8309A #D85DB3

Accessibility & contrast

On white

7.45
#972474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#972474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972474
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972474#FFFFFF#000000##FFFFFF
##9724741.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#545C71
Tritanopia (blue-blind)
#A12449
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972474;
/* rgb */ color: rgb(151, 36, 116);
/* oklch */ color: oklch(47.3% 0.171 343.1);
Tailwind
colors: {
  custom: {
    50: '#b96b9c',
    500: '#972474',
    950: '#000000',
  },
}
SCSS
$custom: #972474;
$custom-light: #b96b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#972474",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 318.261,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47251,
    "c": 0.1709,
    "h": 343.1
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#972474
secondary
#5ABD78
accent
#E57443
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972474

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

Preview Lab → · Contrast checker → · Palette generator →

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