#9D388C#9D388C

#9D388C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.166 H 335.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9D388C
RGBrgb(157, 56, 140)
HSLhsl(310, 47%, 42%)
HSVhsv(310, 64%, 62%)
CMYKcmyk(0%, 64.3%, 10.8%, 38.4%)
CIE-LABlab(41.04, 51.78, -25.80)
CIE-LCHlch(41.04, 57.85, 333.51°)
OKLaboklab(51.34% 0.1506 -0.0703)
OKLCHoklch(51.34% 0.166 335)
XYZxyz(20.0526, 11.8915, 26.0450)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D388C #389D49
analogous
#7C389D #9D388C #9D385A
triadic
#9D388C #8C9D38 #388C9D
tetradic
#9D388C #9D7C38 #389D49 #385A9D
square
#9D388C #9D7C38 #389D49 #385A9D
split-complementary
#9D388C #5A9D38 #389D7C
monochromatic
#43183C #702864 #9D388C #C151AE #D17EC3

Accessibility & contrast

On white

6.22
#9D388C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9D388C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D388C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D388C#FFFFFF#000000##FFFFFF
##9D388C1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578F
Deuteranopia (green-blind)
#586689
Tritanopia (blue-blind)
#A43F5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d388c;
/* rgb */ color: rgb(157, 56, 140);
/* oklch */ color: oklch(51.3% 0.166 335.0);
Tailwind
colors: {
  custom: {
    50: '#bd76ae',
    500: '#9d388c',
    950: '#000000',
  },
}
SCSS
$custom: #9d388c;
$custom-light: #bd76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d388c",
  "rgb": {
    "r": 157,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 310.099,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51344,
    "c": 0.16614,
    "h": 335
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#9D388C
secondary
#76BA82
accent
#D76751
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D388C

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

Preview Lab → · Contrast checker → · Palette generator →

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