#975172#975172

#975172 is a mid, moderate pink. Relative luminance 0.137; OKLCH L 52.8% C 0.101 H 351.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#975172
RGBrgb(151, 81, 114)
HSLhsl(332, 30%, 45%)
HSVhsv(332, 46%, 59%)
CMYKcmyk(0%, 46.4%, 24.5%, 40.8%)
CIE-LABlab(43.77, 33.39, -5.83)
CIE-LCHlch(43.77, 33.90, 350.10°)
OKLaboklab(52.85% 0.1004 -0.015)
OKLCHoklch(52.85% 0.101 351.5)
XYZxyz(18.7427, 13.6805, 17.5698)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975172 #519776
analogous
#975195 #975172 #975351
triadic
#975172 #729751 #517297
tetradic
#975172 #959751 #519776 #535197
square
#975172 #959751 #519776 #535197
split-complementary
#975172 #519753 #519597
monochromatic
#472636 #6F3C54 #975172 #B37291 #C99AB0

Accessibility & contrast

On white

5.62
#975172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#975172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975172
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975172#FFFFFF#000000##FFFFFF
##9751721.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596073
Deuteranopia (green-blind)
#6B6C70
Tritanopia (blue-blind)
#A04E5D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #975172;
/* rgb */ color: rgb(151, 81, 114);
/* oklch */ color: oklch(52.8% 0.101 351.5);
Tailwind
colors: {
  custom: {
    50: '#b7849a',
    500: '#975172',
    950: '#000000',
  },
}
SCSS
$custom: #975172;
$custom-light: #b7849a;
$custom-dark: #000000;
JSON
{
  "hex": "#975172",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 331.714,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52846,
    "c": 0.10149,
    "h": 351.5
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#975172
secondary
#8EB6A3
accent
#C69761
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #975172

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

Preview Lab → · Contrast checker → · Palette generator →

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