#974871#974871

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

Color values

HEX#974871
RGBrgb(151, 72, 113)
HSLhsl(329, 35%, 44%)
HSVhsv(329, 52%, 59%)
CMYKcmyk(0%, 52.3%, 25.2%, 40.8%)
CIE-LABlab(41.86, 38.07, -8.07)
CIE-LCHlch(41.86, 38.92, 348.03°)
OKLaboklab(51.4% 0.1146 -0.021)
OKLCHoklch(51.4% 0.117 349.6)
XYZxyz(18.0611, 12.4078, 17.0633)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974871 #48976E
analogous
#954897 #974871 #974849
triadic
#974871 #719748 #487197
tetradic
#974871 #979548 #48976E #484997
square
#974871 #979548 #48976E #484997
split-complementary
#974871 #499748 #489795
monochromatic
#442033 #6E3452 #974871 #B66690 #CA90AE

Accessibility & contrast

On white

6.03
#974871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#974871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974871
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974871#FFFFFF#000000##FFFFFF
##9748711.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#A14658
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #974871;
/* rgb */ color: rgb(151, 72, 113);
/* oklch */ color: oklch(51.4% 0.117 349.6);
Tailwind
colors: {
  custom: {
    50: '#b87e99',
    500: '#974871',
    950: '#000000',
  },
}
SCSS
$custom: #974871;
$custom-light: #b87e99;
$custom-dark: #000000;
JSON
{
  "hex": "#974871",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 328.861,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51397,
    "c": 0.11653,
    "h": 349.6
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #974871

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

Preview Lab → · Contrast checker → · Palette generator →

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