#B9337E#B9337E

#B9337E is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.184 H 350.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B9337E
RGBrgb(185, 51, 126)
HSLhsl(326, 57%, 46%)
HSVhsv(326, 72%, 73%)
CMYKcmyk(0%, 72.4%, 31.9%, 27.5%)
CIE-LABlab(44.51, 59.38, -11.52)
CIE-LCHlch(44.51, 60.49, 349.02°)
OKLaboklab(54.59% 0.1814 -0.03)
OKLCHoklch(54.59% 0.184 350.6)
XYZxyz(24.9587, 14.1912, 21.1594)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9337E #33B96E
analogous
#B133B9 #B9337E #B9333B
triadic
#B9337E #7EB933 #337EB9
tetradic
#B9337E #B9B133 #33B96E #333BB9
square
#B9337E #B9B133 #33B96E #333BB9
split-complementary
#B9337E #3BB933 #33B9B1
monochromatic
#59193D #89265D #B9337E #D1589C #DE88B8

Accessibility & contrast

On white

5.47
#B9337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B9337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9337E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9337E#FFFFFF#000000##FFFFFF
##B9337E1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A80
Deuteranopia (green-blind)
#6F727B
Tritanopia (blue-blind)
#C72A54
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b9337e;
/* rgb */ color: rgb(185, 51, 126);
/* oklch */ color: oklch(54.6% 0.184 350.6);
Tailwind
colors: {
  custom: {
    50: '#d276a3',
    500: '#b9337e',
    950: '#000000',
  },
}
SCSS
$custom: #b9337e;
$custom-light: #d276a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b9337e",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 326.418,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54589,
    "c": 0.1839,
    "h": 350.6
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#B9337E
secondary
#80C8A0
accent
#E08B48
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B9337E

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

Preview Lab → · Contrast checker → · Palette generator →

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