#9B306F#9B306F

#9B306F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.156 H 348.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9B306F
RGBrgb(155, 48, 111)
HSLhsl(325, 53%, 40%)
HSVhsv(325, 69%, 61%)
CMYKcmyk(0%, 69%, 28.4%, 39.2%)
CIE-LABlab(38.26, 50.29, -12.20)
CIE-LCHlch(38.26, 51.74, 346.37°)
OKLaboklab(48.83% 0.1527 -0.032)
OKLCHoklch(48.83% 0.156 348.1)
XYZxyz(17.4445, 10.2320, 16.0921)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B306F #309B5C
analogous
#92309B #9B306F #9B303A
triadic
#9B306F #6F9B30 #306F9B
tetradic
#9B306F #9B9230 #309B5C #303A9B
square
#9B306F #9B9230 #309B5C #303A9B
split-complementary
#9B306F #3A9B30 #309B92
monochromatic
#3E132C #6C224E #9B306F #C54390 #D372AB

Accessibility & contrast

On white

6.89
#9B306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9B306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B306F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B306F#FFFFFF#000000##FFFFFF
##9B306F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4E71
Deuteranopia (green-blind)
#5D616C
Tritanopia (blue-blind)
#A62C4B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b306f;
/* rgb */ color: rgb(155, 48, 111);
/* oklch */ color: oklch(48.8% 0.156 348.1);
Tailwind
colors: {
  custom: {
    50: '#bc7198',
    500: '#9b306f',
    950: '#000000',
  },
}
SCSS
$custom: #9b306f;
$custom-light: #bc7198;
$custom-dark: #000000;
JSON
{
  "hex": "#9b306f",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 324.673,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4883,
    "c": 0.15606,
    "h": 348.1
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#9B306F
secondary
#6CBB8C
accent
#DC874C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9B306F

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

Preview Lab → · Contrast checker → · Palette generator →

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