#B9336C#B9336C

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

Color values

HEX#B9336C
RGBrgb(185, 51, 108)
HSLhsl(334, 57%, 46%)
HSVhsv(334, 72%, 73%)
CMYKcmyk(0%, 72.4%, 41.6%, 27.5%)
CIE-LABlab(43.90, 57.41, -1.34)
CIE-LCHlch(43.90, 57.42, 358.66°)
OKLaboklab(53.94% 0.1761 -0.0028)
OKLCHoklch(53.94% 0.176 359.1)
XYZxyz(23.8999, 13.7677, 15.5833)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9336C #33B980
analogous
#B933AF #B9336C #B93D33
triadic
#B9336C #6CB933 #336CB9
tetradic
#B9336C #AFB933 #33B980 #3D33B9
square
#B9336C #AFB933 #33B980 #3D33B9
split-complementary
#B9336C #33B93D #33AFB9
monochromatic
#591934 #892650 #B9336C #D1588C #DE88AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9336C#FFFFFF#000000##FFFFFF
##B9336C1.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)
#4F586D
Deuteranopia (green-blind)
#737169
Tritanopia (blue-blind)
#C8214B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b9336c;
/* rgb */ color: rgb(185, 51, 108);
/* oklch */ color: oklch(53.9% 0.176 359.1);
Tailwind
colors: {
  custom: {
    50: '#d37696',
    500: '#b9336c',
    950: '#000000',
  },
}
SCSS
$custom: #b9336c;
$custom-light: #d37696;
$custom-dark: #000000;
JSON
{
  "hex": "#b9336c",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 334.478,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53944,
    "c": 0.17614,
    "h": 359.1
  },
  "luminance": 0.13765
}

Semantic roles & 50–950 ramp

primary
#B9336C
secondary
#80C8A9
accent
#E09F48
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B9336C

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

Preview Lab → · Contrast checker → · Palette generator →

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