#9B388A#9B388A

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

Color values

HEX#9B388A
RGBrgb(155, 56, 138)
HSLhsl(310, 47%, 41%)
HSVhsv(310, 64%, 61%)
CMYKcmyk(0%, 63.9%, 11%, 39.2%)
CIE-LABlab(40.63, 50.91, -25.25)
CIE-LCHlch(40.63, 56.83, 333.62°)
OKLaboklab(50.95% 0.1481 -0.0687)
OKLCHoklch(50.95% 0.163 335.1)
XYZxyz(19.5194, 11.6335, 25.2573)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B388A #389B49
analogous
#7B389B #9B388A #9B3859
triadic
#9B388A #8A9B38 #388A9B
tetradic
#9B388A #9B7B38 #389B49 #38599B
square
#9B388A #9B7B38 #389B49 #38599B
split-complementary
#9B388A #599B38 #389B7B
monochromatic
#41183A #6E2862 #9B388A #C050AD #D07DC2

Accessibility & contrast

On white

6.31
#9B388A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9B388A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B388A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B388A#FFFFFF#000000##FFFFFF
##9B388A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#A23E5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b388a;
/* rgb */ color: rgb(155, 56, 138);
/* oklch */ color: oklch(50.9% 0.163 335.1);
Tailwind
colors: {
  custom: {
    50: '#bb75ac',
    500: '#9b388a',
    950: '#000000',
  },
}
SCSS
$custom: #9b388a;
$custom-light: #bb75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b388a",
  "rgb": {
    "r": 155,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 310.303,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.16325,
    "h": 335.1
  },
  "luminance": 0.11632
}

Semantic roles & 50–950 ramp

primary
#9B388A
secondary
#75B981
accent
#D76851
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B388A

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

Preview Lab → · Contrast checker → · Palette generator →

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