#972479#972479

#972479 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.174 H 340.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#972479
RGBrgb(151, 36, 121)
HSLhsl(316, 61%, 37%)
HSVhsv(316, 76%, 59%)
CMYKcmyk(0%, 76.2%, 19.9%, 40.8%)
CIE-LABlab(36.41, 54.95, -21.36)
CIE-LCHlch(36.41, 58.95, 338.76°)
OKLaboklab(47.49% 0.1643 -0.0576)
OKLCHoklch(47.49% 0.174 340.7)
XYZxyz(16.8451, 9.2232, 18.9786)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972479 #249742
analogous
#7C2497 #972479 #972440
triadic
#972479 #799724 #247997
tetradic
#972479 #977C24 #249742 #244097
square
#972479 #977C24 #249742 #244097
split-complementary
#972479 #409724 #24977C
monochromatic
#340C2A #661851 #972479 #C830A1 #D85DB8

Accessibility & contrast

On white

7.38
#972479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972479
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972479#FFFFFF#000000##FFFFFF
##9724791.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#525C76
Tritanopia (blue-blind)
#A0274C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972479;
/* rgb */ color: rgb(151, 36, 121);
/* oklch */ color: oklch(47.5% 0.174 340.7);
Tailwind
colors: {
  custom: {
    50: '#b96ba0',
    500: '#972479',
    950: '#000000',
  },
}
SCSS
$custom: #972479;
$custom-light: #b96ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#972479",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 315.652,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4749,
    "c": 0.17412,
    "h": 340.7
  },
  "luminance": 0.09222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #972479

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

Preview Lab → · Contrast checker → · Palette generator →

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