#9B307A#9B307A

#9B307A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.163 H 342.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9B307A
RGBrgb(155, 48, 122)
HSLhsl(319, 53%, 40%)
HSVhsv(319, 69%, 61%)
CMYKcmyk(0%, 69%, 21.3%, 39.2%)
CIE-LABlab(38.71, 51.79, -18.37)
CIE-LCHlch(38.71, 54.96, 340.47°)
OKLaboklab(49.31% 0.1553 -0.0492)
OKLCHoklch(49.31% 0.163 342.4)
XYZxyz(18.0879, 10.4894, 19.4806)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B307A #309B51
analogous
#87309B #9B307A #9B3044
triadic
#9B307A #7A9B30 #307A9B
tetradic
#9B307A #9B8730 #309B51 #30449B
square
#9B307A #9B8730 #309B51 #30449B
split-complementary
#9B307A #449B30 #309B87
monochromatic
#3E1330 #6C2255 #9B307A #C5439D #D372B5

Accessibility & contrast

On white

6.78
#9B307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9B307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B307A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B307A#FFFFFF#000000##FFFFFF
##9B307A1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#5A6277
Tritanopia (blue-blind)
#A53150
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b307a;
/* rgb */ color: rgb(155, 48, 122);
/* oklch */ color: oklch(49.3% 0.163 342.4);
Tailwind
colors: {
  custom: {
    50: '#bc71a0',
    500: '#9b307a',
    950: '#000000',
  },
}
SCSS
$custom: #9b307a;
$custom-light: #bc71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b307a",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 318.505,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.16286,
    "h": 342.4
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#9B307A
secondary
#6CBB84
accent
#DC784C
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B307A

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

Preview Lab → · Contrast checker → · Palette generator →

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