#975178#975178

#975178 is a mid, moderate pink. Relative luminance 0.138; OKLCH L 53.1% C 0.105 H 346.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#975178
RGBrgb(151, 81, 120)
HSLhsl(327, 30%, 45%)
HSVhsv(327, 46%, 59%)
CMYKcmyk(0%, 46.4%, 20.5%, 40.8%)
CIE-LABlab(43.98, 34.33, -9.19)
CIE-LCHlch(43.98, 35.53, 345.02°)
OKLaboklab(53.07% 0.1024 -0.0241)
OKLCHoklch(53.07% 0.105 346.7)
XYZxyz(19.0955, 13.8216, 19.4278)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975178 #519770
analogous
#935197 #975178 #975155
triadic
#975178 #789751 #517897
tetradic
#975178 #979351 #519770 #515597
square
#975178 #979351 #519770 #515597
split-complementary
#975178 #559751 #519793
monochromatic
#472639 #6F3C58 #975178 #B37296 #C99AB4

Accessibility & contrast

On white

5.58
#975178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#975178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975178
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975178#FFFFFF#000000##FFFFFF
##9751781.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576179
Deuteranopia (green-blind)
#696C76
Tritanopia (blue-blind)
#9F505F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #975178;
/* rgb */ color: rgb(151, 81, 120);
/* oklch */ color: oklch(53.1% 0.105 346.7);
Tailwind
colors: {
  custom: {
    50: '#b7849f',
    500: '#975178',
    950: '#000000',
  },
}
SCSS
$custom: #975178;
$custom-light: #b7849f;
$custom-dark: #000000;
JSON
{
  "hex": "#975178",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 326.571,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.10518,
    "h": 346.7
  },
  "luminance": 0.1382
}

Semantic roles & 50–950 ramp

primary
#975178
secondary
#8EB6A0
accent
#C68E61
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#110B0E
muted
#807C7E

Preview Lab

Preview with #975178

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

Preview Lab → · Contrast checker → · Palette generator →

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