#B9337F#B9337F

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

Color values

HEX#B9337F
RGBrgb(185, 51, 127)
HSLhsl(326, 57%, 46%)
HSVhsv(326, 72%, 73%)
CMYKcmyk(0%, 72.4%, 31.4%, 27.5%)
CIE-LABlab(44.54, 59.50, -12.08)
CIE-LCHlch(44.54, 60.71, 348.52°)
OKLaboklab(54.63% 0.1817 -0.0315)
OKLCHoklch(54.63% 0.184 350.2)
XYZxyz(25.0235, 14.2171, 21.5009)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9337F #33B96D
analogous
#B033B9 #B9337F #B9333C
triadic
#B9337F #7FB933 #337FB9
tetradic
#B9337F #B9B033 #33B96D #333CB9
square
#B9337F #B9B033 #33B96D #333CB9
split-complementary
#B9337F #3CB933 #33B9B0
monochromatic
#59193D #89265E #B9337F #D1589D #DE88B9

Accessibility & contrast

On white

5.46
#B9337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9337F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9337F#FFFFFF#000000##FFFFFF
##B9337F1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A81
Deuteranopia (green-blind)
#6F727C
Tritanopia (blue-blind)
#C72B54
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b9337f;
/* rgb */ color: rgb(185, 51, 127);
/* oklch */ color: oklch(54.6% 0.184 350.2);
Tailwind
colors: {
  custom: {
    50: '#d276a4',
    500: '#b9337f',
    950: '#000000',
  },
}
SCSS
$custom: #b9337f;
$custom-light: #d276a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b9337f",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 325.97,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54628,
    "c": 0.18441,
    "h": 350.2
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#B9337F
secondary
#80C89F
accent
#E08A48
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B9337F

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

Preview Lab → · Contrast checker → · Palette generator →

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