#9B306C#9B306C

#9B306C is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.154 H 349.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9B306C
RGBrgb(155, 48, 108)
HSLhsl(326, 53%, 40%)
HSVhsv(326, 69%, 61%)
CMYKcmyk(0%, 69%, 30.3%, 39.2%)
CIE-LABlab(38.14, 49.90, -10.49)
CIE-LCHlch(38.14, 50.99, 348.13°)
OKLaboklab(48.71% 0.1519 -0.0274)
OKLCHoklch(48.71% 0.154 349.8)
XYZxyz(17.2821, 10.1671, 15.2368)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B306C #309B5F
analogous
#94309B #9B306C #9B3037
triadic
#9B306C #6C9B30 #306C9B
tetradic
#9B306C #9B9430 #309B5F #30379B
square
#9B306C #9B9430 #309B5F #30379B
split-complementary
#9B306C #379B30 #309B94
monochromatic
#3E132B #6C224B #9B306C #C5438C #D372A9

Accessibility & contrast

On white

6.92
#9B306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9B306C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B306C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B306C#FFFFFF#000000##FFFFFF
##9B306C1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6E
Deuteranopia (green-blind)
#5E6169
Tritanopia (blue-blind)
#A62B4A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b306c;
/* rgb */ color: rgb(155, 48, 108);
/* oklch */ color: oklch(48.7% 0.154 349.8);
Tailwind
colors: {
  custom: {
    50: '#bc7196',
    500: '#9b306c',
    950: '#000000',
  },
}
SCSS
$custom: #9b306c;
$custom-light: #bc7196;
$custom-dark: #000000;
JSON
{
  "hex": "#9b306c",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 326.355,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48708,
    "c": 0.15439,
    "h": 349.8
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#9B306C
secondary
#6CBB8F
accent
#DC8B4C
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9B306C

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

Preview Lab → · Contrast checker → · Palette generator →

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