#9C388B#9C388B

#9C388B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.1% C 0.165 H 335.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9C388B
RGBrgb(156, 56, 139)
HSLhsl(310, 47%, 42%)
HSVhsv(310, 64%, 61%)
CMYKcmyk(0%, 64.1%, 10.9%, 38.8%)
CIE-LABlab(40.84, 51.35, -25.53)
CIE-LCHlch(40.84, 57.34, 333.56°)
OKLaboklab(51.15% 0.1493 -0.0695)
OKLCHoklch(51.15% 0.165 335)
XYZxyz(19.7848, 11.7619, 25.6493)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C388B #389C49
analogous
#7B389C #9C388B #9C3859
triadic
#9C388B #8B9C38 #388B9C
tetradic
#9C388B #9C7B38 #389C49 #38599C
square
#9C388B #9C7B38 #389C49 #38599C
split-complementary
#9C388B #599C38 #389C7B
monochromatic
#42183B #6F2863 #9C388B #C051AD #D17EC3

Accessibility & contrast

On white

6.26
#9C388B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9C388B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C388B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C388B#FFFFFF#000000##FFFFFF
##9C388B1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578D
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#A33E5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c388b;
/* rgb */ color: rgb(156, 56, 139);
/* oklch */ color: oklch(51.1% 0.165 335.0);
Tailwind
colors: {
  custom: {
    50: '#bc76ad',
    500: '#9c388b',
    950: '#000000',
  },
}
SCSS
$custom: #9c388b;
$custom-light: #bc76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c388b",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 310.2,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51145,
    "c": 0.1647,
    "h": 335
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#9C388B
secondary
#76BA81
accent
#D76851
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C388B

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

Preview Lab → · Contrast checker → · Palette generator →

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