#B9336B#B9336B

#B9336B is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.176 H 359.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B9336B
RGBrgb(185, 51, 107)
HSLhsl(335, 57%, 46%)
HSVhsv(335, 72%, 73%)
CMYKcmyk(0%, 72.4%, 42.2%, 27.5%)
CIE-LABlab(43.87, 57.31, -0.77)
CIE-LCHlch(43.87, 57.31, 359.23°)
OKLaboklab(53.91% 0.1758 -0.0013)
OKLCHoklch(53.91% 0.176 359.6)
XYZxyz(23.8470, 13.7465, 15.3046)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9336B #33B981
analogous
#B933AE #B9336B #B93E33
triadic
#B9336B #6BB933 #336BB9
tetradic
#B9336B #AEB933 #33B981 #3E33B9
square
#B9336B #AEB933 #33B981 #3E33B9
split-complementary
#B9336B #33B93E #33AEB9
monochromatic
#591934 #89264F #B9336B #D1588B #DE88AC

Accessibility & contrast

On white

5.60
#B9336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B9336B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9336B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9336B#FFFFFF#000000##FFFFFF
##B9336B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F576C
Deuteranopia (green-blind)
#747168
Tritanopia (blue-blind)
#C8204B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b9336b;
/* rgb */ color: rgb(185, 51, 107);
/* oklch */ color: oklch(53.9% 0.176 359.6);
Tailwind
colors: {
  custom: {
    50: '#d37695',
    500: '#b9336b',
    950: '#000000',
  },
}
SCSS
$custom: #b9336b;
$custom-light: #d37695;
$custom-dark: #000000;
JSON
{
  "hex": "#b9336b",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 334.925,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53911,
    "c": 0.1758,
    "h": 359.6
  },
  "luminance": 0.13743
}

Semantic roles & 50–950 ramp

primary
#B9336B
secondary
#80C8AA
accent
#E0A048
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B9336B

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

Preview Lab → · Contrast checker → · Palette generator →

#B9336B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva