#974865#974865

#974865 is a mid, moderate pink. Relative luminance 0.122; OKLCH L 51.0% C 0.111 H 358.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#974865
RGBrgb(151, 72, 101)
HSLhsl(338, 35%, 44%)
HSVhsv(338, 52%, 59%)
CMYKcmyk(0%, 52.3%, 33.1%, 40.8%)
CIE-LABlab(41.46, 36.39, -1.24)
CIE-LCHlch(41.46, 36.41, 358.05°)
OKLaboklab(50.97% 0.1105 -0.0028)
OKLCHoklch(50.97% 0.111 358.6)
XYZxyz(17.4296, 12.1552, 13.7376)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974865 #48977A
analogous
#97488C #974865 #975248
triadic
#974865 #659748 #486597
tetradic
#974865 #8C9748 #48977A #524897
square
#974865 #8C9748 #48977A #524897
split-complementary
#974865 #489752 #488C97
monochromatic
#44202E #6E3449 #974865 #B66683 #CA90A5

Accessibility & contrast

On white

6.12
#974865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#974865 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974865
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974865#FFFFFF#000000##FFFFFF
##9748651.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545966
Deuteranopia (green-blind)
#686763
Tritanopia (blue-blind)
#A24253
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #974865;
/* rgb */ color: rgb(151, 72, 101);
/* oklch */ color: oklch(51.0% 0.111 358.6);
Tailwind
colors: {
  custom: {
    50: '#b87e90',
    500: '#974865',
    950: '#000000',
  },
}
SCSS
$custom: #974865;
$custom-light: #b87e90;
$custom-dark: #000000;
JSON
{
  "hex": "#974865",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 101
  },
  "hsl": {
    "h": 337.975,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.11054,
    "h": 358.6
  },
  "luminance": 0.12154
}

Semantic roles & 50–950 ramp

primary
#974865
secondary
#85B6A4
accent
#CBA35C
background
#FBF7F8
surface
#F6EEF0
border
#D0C9CB
text
#120A0C
muted
#817C7D

Preview Lab

Preview with #974865

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

Preview Lab → · Contrast checker → · Palette generator →

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