#974872#974872

#974872 is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.4% C 0.117 H 348.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#974872
RGBrgb(151, 72, 114)
HSLhsl(328, 35%, 44%)
HSVhsv(328, 52%, 59%)
CMYKcmyk(0%, 52.3%, 24.5%, 40.8%)
CIE-LABlab(41.89, 38.22, -8.64)
CIE-LCHlch(41.89, 39.18, 347.27°)
OKLaboklab(51.43% 0.1149 -0.0226)
OKLCHoklch(51.43% 0.117 348.9)
XYZxyz(18.1177, 12.4305, 17.3614)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974872 #48976D
analogous
#944897 #974872 #97484A
triadic
#974872 #729748 #487297
tetradic
#974872 #979448 #48976D #484A97
square
#974872 #979448 #48976D #484A97
split-complementary
#974872 #4A9748 #489794
monochromatic
#442033 #6E3453 #974872 #B66691 #CA90AF

Accessibility & contrast

On white

6.02
#974872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#974872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974872
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974872#FFFFFF#000000##FFFFFF
##9748721.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#656870
Tritanopia (blue-blind)
#A04658
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #974872;
/* rgb */ color: rgb(151, 72, 114);
/* oklch */ color: oklch(51.4% 0.117 348.9);
Tailwind
colors: {
  custom: {
    50: '#b87e9a',
    500: '#974872',
    950: '#000000',
  },
}
SCSS
$custom: #974872;
$custom-light: #b87e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#974872",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 328.101,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51435,
    "c": 0.11713,
    "h": 348.9
  },
  "luminance": 0.12429
}

Semantic roles & 50–950 ramp

primary
#974872
secondary
#85B69C
accent
#CB905C
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #974872

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

Preview Lab → · Contrast checker → · Palette generator →

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