#974978#974978

#974978 is a mid, moderate pink. Relative luminance 0.127; OKLCH L 51.8% C 0.119 H 345.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#974978
RGBrgb(151, 73, 120)
HSLhsl(324, 35%, 44%)
HSVhsv(324, 52%, 59%)
CMYKcmyk(0%, 51.7%, 20.5%, 40.8%)
CIE-LABlab(42.31, 38.61, -11.70)
CIE-LCHlch(42.31, 40.35, 343.15°)
OKLaboklab(51.82% 0.1152 -0.0309)
OKLCHoklch(51.82% 0.119 345)
XYZxyz(18.5356, 12.7019, 19.2411)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974978 #499768
analogous
#8F4997 #974978 #974951
triadic
#974978 #789749 #497897
tetradic
#974978 #978F49 #499768 #495197
square
#974978 #978F49 #499768 #495197
split-complementary
#974978 #519749 #49978F
monochromatic
#442136 #6E3557 #974978 #B66797 #CA91B3

Accessibility & contrast

On white

5.93
#974978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#974978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974978
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974978#FFFFFF#000000##FFFFFF
##9749781.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7A
Deuteranopia (green-blind)
#646976
Tritanopia (blue-blind)
#A0485B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #974978;
/* rgb */ color: rgb(151, 73, 120);
/* oklch */ color: oklch(51.8% 0.119 345.0);
Tailwind
colors: {
  custom: {
    50: '#b87f9f',
    500: '#974978',
    950: '#000000',
  },
}
SCSS
$custom: #974978;
$custom-light: #b87f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#974978",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 323.846,
    "s": 34.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.11927,
    "h": 345
  },
  "luminance": 0.127
}

Semantic roles & 50–950 ramp

primary
#974978
secondary
#86B699
accent
#CB895D
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #974978

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

Preview Lab → · Contrast checker → · Palette generator →

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