#975786#975786

#975786 is a mid, moderate pink. Relative luminance 0.151; OKLCH L 54.6% C 0.105 H 337.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#975786
RGBrgb(151, 87, 134)
HSLhsl(316, 27%, 47%)
HSVhsv(316, 42%, 59%)
CMYKcmyk(0%, 42.4%, 11.3%, 40.8%)
CIE-LABlab(45.80, 33.37, -14.92)
CIE-LCHlch(45.80, 36.55, 335.91°)
OKLaboklab(54.61% 0.0969 -0.04)
OKLCHoklch(54.61% 0.105 337.6)
XYZxyz(20.4738, 15.1181, 24.3893)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975786 #579768
analogous
#885797 #975786 #975766
triadic
#975786 #869757 #578697
tetradic
#975786 #978857 #579768 #576697
square
#975786 #978857 #579768 #576697
split-complementary
#975786 #669757 #579788
monochromatic
#492A41 #704164 #975786 #B279A3 #C8A0BE

Accessibility & contrast

On white

5.22
#975786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#975786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975786
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975786#FFFFFF#000000##FFFFFF
##9757861.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586688
Deuteranopia (green-blind)
#697084
Tritanopia (blue-blind)
#9D5968
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #975786;
/* rgb */ color: rgb(151, 87, 134);
/* oklch */ color: oklch(54.6% 0.105 337.6);
Tailwind
colors: {
  custom: {
    50: '#b788a9',
    500: '#975786',
    950: '#000000',
  },
}
SCSS
$custom: #975786;
$custom-light: #b788a9;
$custom-dark: #000000;
JSON
{
  "hex": "#975786",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 315.938,
    "s": 26.891,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54606,
    "c": 0.10483,
    "h": 337.6
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#975786
secondary
#94B69D
accent
#C37E65
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#110B0F
muted
#807C7F

Preview Lab

Preview with #975786

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

Preview Lab → · Contrast checker → · Palette generator →

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