#B9339F#B9339F

#B9339F is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.0% C 0.204 H 336.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B9339F
RGBrgb(185, 51, 159)
HSLhsl(312, 57%, 46%)
HSVhsv(312, 72%, 73%)
CMYKcmyk(0%, 72.4%, 14.1%, 27.5%)
CIE-LABlab(45.89, 63.73, -29.35)
CIE-LCHlch(45.89, 70.17, 335.27°)
OKLaboklab(56.05% 0.1876 -0.0798)
OKLCHoklch(56.05% 0.204 336.9)
XYZxyz(27.4499, 15.1877, 34.2800)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9339F #33B94D
analogous
#9033B9 #B9339F #B9335C
triadic
#B9339F #9FB933 #339FB9
tetradic
#B9339F #B99033 #33B94D #335CB9
square
#B9339F #B99033 #33B94D #335CB9
split-complementary
#B9339F #5CB933 #33B990
monochromatic
#59194D #892676 #B9339F #D158BA #DE88CE

Accessibility & contrast

On white

5.20
#B9339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B9339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9339F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9339F#FFFFFF#000000##FFFFFF
##B9339F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A2
Deuteranopia (green-blind)
#64749C
Tritanopia (blue-blind)
#C33B65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b9339f;
/* rgb */ color: rgb(185, 51, 159);
/* oklch */ color: oklch(56.0% 0.204 336.9);
Tailwind
colors: {
  custom: {
    50: '#d277bb',
    500: '#b9339f',
    950: '#000000',
  },
}
SCSS
$custom: #b9339f;
$custom-light: #d277bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b9339f",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 311.642,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.20387,
    "h": 336.9
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#B9339F
secondary
#80C88E
accent
#E06548
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B9339F

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

Preview Lab → · Contrast checker → · Palette generator →

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