#974873#974873

#974873 is a mid, moderate pink. Relative luminance 0.125; OKLCH L 51.5% C 0.118 H 348.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#974873
RGBrgb(151, 72, 115)
HSLhsl(327, 35%, 44%)
HSVhsv(327, 52%, 59%)
CMYKcmyk(0%, 52.3%, 23.8%, 40.8%)
CIE-LABlab(41.93, 38.37, -9.20)
CIE-LCHlch(41.93, 39.46, 346.52°)
OKLaboklab(51.47% 0.1153 -0.0241)
OKLCHoklch(51.47% 0.118 348.2)
XYZxyz(18.1749, 12.4534, 17.6628)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974873 #48976C
analogous
#934897 #974873 #97484B
triadic
#974873 #739748 #487397
tetradic
#974873 #979348 #48976C #484B97
square
#974873 #979348 #48976C #484B97
split-complementary
#974873 #4B9748 #489793
monochromatic
#442034 #6E3453 #974873 #B66692 #CA90AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##974873#FFFFFF#000000##FFFFFF
##9748731.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)
#505A74
Deuteranopia (green-blind)
#656871
Tritanopia (blue-blind)
#A04658
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #974873;
/* rgb */ color: rgb(151, 72, 115);
/* oklch */ color: oklch(51.5% 0.118 348.2);
Tailwind
colors: {
  custom: {
    50: '#b87e9b',
    500: '#974873',
    950: '#000000',
  },
}
SCSS
$custom: #974873;
$custom-light: #b87e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#974873",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 327.342,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51473,
    "c": 0.11774,
    "h": 348.2
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#974873
secondary
#85B69B
accent
#CB8F5C
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #974873

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

Preview Lab → · Contrast checker → · Palette generator →

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