#B9337B#B9337B

#B9337B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.182 H 352.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B9337B
RGBrgb(185, 51, 123)
HSLhsl(328, 57%, 46%)
HSVhsv(328, 72%, 73%)
CMYKcmyk(0%, 72.4%, 33.5%, 27.5%)
CIE-LABlab(44.40, 59.03, -9.85)
CIE-LCHlch(44.40, 59.85, 350.53°)
OKLaboklab(54.47% 0.1806 -0.0254)
OKLCHoklch(54.47% 0.182 352)
XYZxyz(24.7680, 14.1149, 20.1552)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9337B #33B971
analogous
#B433B9 #B9337B #B93338
triadic
#B9337B #7BB933 #337BB9
tetradic
#B9337B #B9B433 #33B971 #3338B9
square
#B9337B #B9B433 #33B971 #3338B9
split-complementary
#B9337B #38B933 #33B9B4
monochromatic
#59193B #89265B #B9337B #D15899 #DE88B6

Accessibility & contrast

On white

5.49
#B9337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B9337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9337B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9337B#FFFFFF#000000##FFFFFF
##B9337B1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7D
Deuteranopia (green-blind)
#707278
Tritanopia (blue-blind)
#C72952
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b9337b;
/* rgb */ color: rgb(185, 51, 123);
/* oklch */ color: oklch(54.5% 0.182 352.0);
Tailwind
colors: {
  custom: {
    50: '#d376a1',
    500: '#b9337b',
    950: '#000000',
  },
}
SCSS
$custom: #b9337b;
$custom-light: #d376a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b9337b",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 327.761,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54474,
    "c": 0.18242,
    "h": 352
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#B9337B
secondary
#80C8A1
accent
#E08E48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B9337B

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

Preview Lab → · Contrast checker → · Palette generator →

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