#B9339C#B9339C

#B9339C is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 55.9% C 0.202 H 338.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B9339C
RGBrgb(185, 51, 156)
HSLhsl(313, 57%, 46%)
HSVhsv(313, 72%, 73%)
CMYKcmyk(0%, 72.4%, 15.7%, 27.5%)
CIE-LABlab(45.75, 63.30, -27.78)
CIE-LCHlch(45.75, 69.13, 336.31°)
OKLaboklab(55.9% 0.1872 -0.0753)
OKLCHoklch(55.9% 0.202 338.1)
XYZxyz(27.1927, 15.0848, 32.9256)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9339C #33B950
analogous
#9333B9 #B9339C #B93359
triadic
#B9339C #9CB933 #339CB9
tetradic
#B9339C #B99333 #33B950 #3359B9
square
#B9339C #B99333 #33B950 #3359B9
split-complementary
#B9339C #59B933 #33B993
monochromatic
#59194B #892674 #B9339C #D158B7 #DE88CC

Accessibility & contrast

On white

5.23
#B9339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9339C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9339C#FFFFFF#000000##FFFFFF
##B9339C1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9F
Deuteranopia (green-blind)
#657499
Tritanopia (blue-blind)
#C33A64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b9339c;
/* rgb */ color: rgb(185, 51, 156);
/* oklch */ color: oklch(55.9% 0.202 338.1);
Tailwind
colors: {
  custom: {
    50: '#d277b9',
    500: '#b9339c',
    950: '#000000',
  },
}
SCSS
$custom: #b9339c;
$custom-light: #d277b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b9339c",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 312.985,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55902,
    "c": 0.20183,
    "h": 338.1
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9339C

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

Preview Lab → · Contrast checker → · Palette generator →

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