#974487#974487

#974487 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 51.7% C 0.139 H 335.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#974487
RGBrgb(151, 68, 135)
HSLhsl(312, 38%, 43%)
HSVhsv(312, 55%, 59%)
CMYKcmyk(0%, 55%, 10.6%, 40.8%)
CIE-LABlab(41.94, 43.63, -21.43)
CIE-LCHlch(41.94, 48.61, 333.84°)
OKLaboklab(51.75% 0.1266 -0.0581)
OKLCHoklch(51.75% 0.139 335.4)
XYZxyz(19.2029, 12.4642, 24.3114)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974487 #449754
analogous
#7D4497 #974487 #97445D
triadic
#974487 #879744 #448797
tetradic
#974487 #977D44 #449754 #445D97
square
#974487 #977D44 #449754 #445D97
split-complementary
#974487 #5D9744 #44977D
monochromatic
#431E3C #6D3161 #974487 #B861A7 #CB8BBE

Accessibility & contrast

On white

6.01
#974487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #974487
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974487#FFFFFF#000000##FFFFFF
##9744871.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#5C6885
Tritanopia (blue-blind)
#9E485F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #974487;
/* rgb */ color: rgb(151, 68, 135);
/* oklch */ color: oklch(51.7% 0.139 335.4);
Tailwind
colors: {
  custom: {
    50: '#b87caa',
    500: '#974487',
    950: '#000000',
  },
}
SCSS
$custom: #974487;
$custom-light: #b87caa;
$custom-dark: #000000;
JSON
{
  "hex": "#974487",
  "rgb": {
    "r": 151,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 311.566,
    "s": 37.9,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.13924,
    "h": 335.4
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#974487
secondary
#81B68B
accent
#CE705A
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #974487

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

Preview Lab → · Contrast checker → · Palette generator →

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