#9D4080#9D4080

#9D4080 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.8% C 0.145 H 341.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9D4080
RGBrgb(157, 64, 128)
HSLhsl(319, 42%, 43%)
HSVhsv(319, 59%, 62%)
CMYKcmyk(0%, 59.2%, 18.5%, 38.4%)
CIE-LABlab(41.84, 46.27, -17.24)
CIE-LCHlch(41.84, 49.38, 339.57°)
OKLaboklab(51.75% 0.1375 -0.0461)
OKLCHoklch(51.75% 0.145 341.5)
XYZxyz(19.6347, 12.3951, 21.7763)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4080 #409D5D
analogous
#8B409D #9D4080 #9D4051
triadic
#9D4080 #809D40 #40809D
tetradic
#9D4080 #9D8B40 #409D5D #40519D
square
#9D4080 #9D8B40 #409D5D #40519D
split-complementary
#9D4080 #519D40 #409D8B
monochromatic
#461D39 #722E5D #9D4080 #BD5D9F #CF89B9

Accessibility & contrast

On white

6.04
#9D4080 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9D4080 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4080
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4080#FFFFFF#000000##FFFFFF
##9D40801.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465982
Deuteranopia (green-blind)
#61687E
Tritanopia (blue-blind)
#A6415A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d4080;
/* rgb */ color: rgb(157, 64, 128);
/* oklch */ color: oklch(51.8% 0.145 341.5);
Tailwind
colors: {
  custom: {
    50: '#bd7aa5',
    500: '#9d4080',
    950: '#000000',
  },
}
SCSS
$custom: #9d4080;
$custom-light: #bd7aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4080",
  "rgb": {
    "r": 157,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 318.71,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51754,
    "c": 0.14508,
    "h": 341.5
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#9D4080
secondary
#7FB991
accent
#D27D56
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9D4080

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

Preview Lab → · Contrast checker → · Palette generator →

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