#9D5182#9D5182

#9D5182 is a mid, moderate pink. Relative luminance 0.147; OKLCH L 54.3% C 0.118 H 342.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9D5182
RGBrgb(157, 81, 130)
HSLhsl(321, 32%, 47%)
HSVhsv(321, 48%, 62%)
CMYKcmyk(0%, 48.4%, 17.2%, 38.4%)
CIE-LABlab(45.17, 38.00, -13.37)
CIE-LCHlch(45.17, 40.28, 340.61°)
OKLaboklab(54.26% 0.1124 -0.0356)
OKLCHoklch(54.26% 0.118 342.4)
XYZxyz(20.8766, 14.6662, 22.8461)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5182 #519D6C
analogous
#92519D #9D5182 #9D515C
triadic
#9D5182 #829D51 #51829D
tetradic
#9D5182 #9D9251 #519D6C #515C9D
square
#9D5182 #9D9251 #519D6C #515C9D
split-complementary
#9D5182 #5C9D51 #519D92
monochromatic
#4C273F #753C61 #9D5182 #B7749F #CC9CBB

Accessibility & contrast

On white

5.34
#9D5182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9D5182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D5182
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5182#FFFFFF#000000##FFFFFF
##9D51821.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566384
Deuteranopia (green-blind)
#6A6F80
Tritanopia (blue-blind)
#A55164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d5182;
/* rgb */ color: rgb(157, 81, 130);
/* oklch */ color: oklch(54.3% 0.118 342.4);
Tailwind
colors: {
  custom: {
    50: '#bc84a6',
    500: '#9d5182',
    950: '#000000',
  },
}
SCSS
$custom: #9d5182;
$custom-light: #bc84a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5182",
  "rgb": {
    "r": 157,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 321.316,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54261,
    "c": 0.11792,
    "h": 342.4
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#9D5182
secondary
#91B99F
accent
#C88560
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B0F
muted
#817C7F

Preview Lab

Preview with #9D5182

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

Preview Lab → · Contrast checker → · Palette generator →

#9D5182 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva