#B9336A#B9336A

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

Color values

HEX#B9336A
RGBrgb(185, 51, 106)
HSLhsl(335, 57%, 46%)
HSVhsv(335, 72%, 73%)
CMYKcmyk(0%, 72.4%, 42.7%, 27.5%)
CIE-LABlab(43.84, 57.21, -0.19)
CIE-LCHlch(43.84, 57.21, 359.81°)
OKLaboklab(53.88% 0.1755 0.0002)
OKLCHoklch(53.88% 0.175 0.1)
XYZxyz(23.7947, 13.7256, 15.0292)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9336A #33B982
analogous
#B933AD #B9336A #B93F33
triadic
#B9336A #6AB933 #336AB9
tetradic
#B9336A #ADB933 #33B982 #3F33B9
square
#B9336A #ADB933 #33B982 #3F33B9
split-complementary
#B9336A #33B93F #33ADB9
monochromatic
#591933 #89264F #B9336A #D1588A #DE88AB

Accessibility & contrast

On white

5.61
#B9336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B9336A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9336A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9336A#FFFFFF#000000##FFFFFF
##B9336A1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F576B
Deuteranopia (green-blind)
#747167
Tritanopia (blue-blind)
#C81F4A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b9336a;
/* rgb */ color: rgb(185, 51, 106);
/* oklch */ color: oklch(53.9% 0.175 0.1);
Tailwind
colors: {
  custom: {
    50: '#d37694',
    500: '#b9336a',
    950: '#000000',
  },
}
SCSS
$custom: #b9336a;
$custom-light: #d37694;
$custom-dark: #000000;
JSON
{
  "hex": "#b9336a",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 335.373,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.17546,
    "h": 0.1
  },
  "luminance": 0.13723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9336A

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

Preview Lab → · Contrast checker → · Palette generator →

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