#9C398B#9C398B

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

Color values

HEX#9C398B
RGBrgb(156, 57, 139)
HSLhsl(310, 46%, 42%)
HSVhsv(310, 63%, 61%)
CMYKcmyk(0%, 63.5%, 10.9%, 38.8%)
CIE-LABlab(40.99, 50.91, -25.28)
CIE-LCHlch(40.99, 56.84, 333.59°)
OKLaboklab(51.26% 0.148 -0.0688)
OKLCHoklch(51.26% 0.163 335.1)
XYZxyz(19.8338, 11.8598, 25.6657)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C398B #399C4A
analogous
#7C399C #9C398B #9C395A
triadic
#9C398B #8B9C39 #398B9C
tetradic
#9C398B #9C7C39 #399C4A #395A9C
square
#9C398B #9C7C39 #399C4A #395A9C
split-complementary
#9C398B #5A9C39 #399C7C
monochromatic
#42183B #6F2963 #9C398B #C052AD #D07FC2

Accessibility & contrast

On white

6.23
#9C398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9C398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C398B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C398B#FFFFFF#000000##FFFFFF
##9C398B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#A33F5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c398b;
/* rgb */ color: rgb(156, 57, 139);
/* oklch */ color: oklch(51.3% 0.163 335.1);
Tailwind
colors: {
  custom: {
    50: '#bc76ad',
    500: '#9c398b',
    950: '#000000',
  },
}
SCSS
$custom: #9c398b;
$custom-light: #bc76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c398b",
  "rgb": {
    "r": 156,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 310.303,
    "s": 46.479,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5126,
    "c": 0.16325,
    "h": 335.1
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#9C398B
secondary
#77BA82
accent
#D66852
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C398B

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

Preview Lab → · Contrast checker → · Palette generator →

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