#9B334E#9B334E

#9B334E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.0% C 0.139 H 8.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9B334E
RGBrgb(155, 51, 78)
HSLhsl(344, 50%, 40%)
HSVhsv(344, 67%, 61%)
CMYKcmyk(0%, 67.1%, 49.7%, 39.2%)
CIE-LABlab(37.64, 45.31, 7.79)
CIE-LCHlch(37.64, 45.98, 9.76°)
OKLaboklab(48.03% 0.1378 0.0202)
OKLCHoklch(48.03% 0.139 8.3)
XYZxyz(16.0778, 9.8883, 8.2682)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B334E #339B80
analogous
#9B3382 #9B334E #9B4C33
triadic
#9B334E #4E9B33 #334E9B
tetradic
#9B334E #829B33 #339B80 #4C339B
square
#9B334E #829B33 #339B80 #4C339B
split-complementary
#9B334E #339B4C #33829B
monochromatic
#3F1520 #6D2437 #9B334E #C34868 #D2768E

Accessibility & contrast

On white

7.05
#9B334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9B334E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B334E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B334E#FFFFFF#000000##FFFFFF
##9B334E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4F
Deuteranopia (green-blind)
#66604C
Tritanopia (blue-blind)
#A9223E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b334e;
/* rgb */ color: rgb(155, 51, 78);
/* oklch */ color: oklch(48.0% 0.139 8.3);
Tailwind
colors: {
  custom: {
    50: '#bd717f',
    500: '#9b334e',
    950: '#000000',
  },
}
SCSS
$custom: #9b334e;
$custom-light: #bd717f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b334e",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 344.423,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48026,
    "c": 0.13926,
    "h": 8.3
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#9B334E
secondary
#6FBAA7
accent
#DAB64E
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9B334E

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

Preview Lab → · Contrast checker → · Palette generator →

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