#9B336E#9B336E

#9B336E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.1% C 0.151 H 349.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9B336E
RGBrgb(155, 51, 110)
HSLhsl(326, 50%, 40%)
HSVhsv(326, 67%, 61%)
CMYKcmyk(0%, 67.1%, 29%, 39.2%)
CIE-LABlab(38.66, 48.93, -10.96)
CIE-LCHlch(38.66, 50.14, 347.38°)
OKLaboklab(49.12% 0.1487 -0.0287)
OKLCHoklch(49.12% 0.151 349.1)
XYZxyz(17.5167, 10.4638, 15.8461)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B336E #339B60
analogous
#94339B #9B336E #9B333A
triadic
#9B336E #6E9B33 #336E9B
tetradic
#9B336E #9B9433 #339B60 #333A9B
square
#9B336E #9B9433 #339B60 #333A9B
split-complementary
#9B336E #3A9B33 #339B94
monochromatic
#3F152D #6D244D #9B336E #C3488E #D276AA

Accessibility & contrast

On white

6.79
#9B336E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9B336E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B336E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B336E#FFFFFF#000000##FFFFFF
##9B336E1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F70
Deuteranopia (green-blind)
#5F626C
Tritanopia (blue-blind)
#A62F4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b336e;
/* rgb */ color: rgb(155, 51, 110);
/* oklch */ color: oklch(49.1% 0.151 349.1);
Tailwind
colors: {
  custom: {
    50: '#bc7297',
    500: '#9b336e',
    950: '#000000',
  },
}
SCSS
$custom: #9b336e;
$custom-light: #bc7297;
$custom-dark: #000000;
JSON
{
  "hex": "#9b336e",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 325.962,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.15139,
    "h": 349.1
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#9B336E
secondary
#6FBA90
accent
#DA8A4E
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9B336E

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

Preview Lab → · Contrast checker → · Palette generator →

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