#B9339D#B9339D

#B9339D is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.0% C 0.203 H 337.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B9339D
RGBrgb(185, 51, 157)
HSLhsl(313, 57%, 46%)
HSVhsv(313, 72%, 73%)
CMYKcmyk(0%, 72.4%, 15.1%, 27.5%)
CIE-LABlab(45.80, 63.44, -28.30)
CIE-LCHlch(45.80, 69.47, 335.96°)
OKLaboklab(55.95% 0.1874 -0.0768)
OKLCHoklch(55.95% 0.203 337.7)
XYZxyz(27.2778, 15.1188, 33.3734)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9339D #33B94F
analogous
#9233B9 #B9339D #B9335A
triadic
#B9339D #9DB933 #339DB9
tetradic
#B9339D #B99233 #33B94F #335AB9
square
#B9339D #B99233 #33B94F #335AB9
split-complementary
#B9339D #5AB933 #33B992
monochromatic
#59194C #892674 #B9339D #D158B8 #DE88CC

Accessibility & contrast

On white

5.22
#B9339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B9339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9339D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9339D#FFFFFF#000000##FFFFFF
##B9339D1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385FA0
Deuteranopia (green-blind)
#65749A
Tritanopia (blue-blind)
#C33A64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b9339d;
/* rgb */ color: rgb(185, 51, 157);
/* oklch */ color: oklch(56.0% 0.203 337.7);
Tailwind
colors: {
  custom: {
    50: '#d277ba',
    500: '#b9339d',
    950: '#000000',
  },
}
SCSS
$custom: #b9339d;
$custom-light: #d277ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b9339d",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 312.537,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5595,
    "c": 0.2025,
    "h": 337.7
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#B9339D
secondary
#80C88F
accent
#E06848
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #B9339D

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

Preview Lab → · Contrast checker → · Palette generator →

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