#B9339B#B9339B

#B9339B is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.9% C 0.201 H 338.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B9339B
RGBrgb(185, 51, 155)
HSLhsl(313, 57%, 46%)
HSVhsv(313, 72%, 73%)
CMYKcmyk(0%, 72.4%, 16.2%, 27.5%)
CIE-LABlab(45.70, 63.16, -27.25)
CIE-LCHlch(45.70, 68.78, 336.66°)
OKLaboklab(55.85% 0.1871 -0.0738)
OKLCHoklch(55.85% 0.201 338.5)
XYZxyz(27.1084, 15.0511, 32.4815)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9339B #33B951
analogous
#9433B9 #B9339B #B93358
triadic
#B9339B #9BB933 #339BB9
tetradic
#B9339B #B99433 #33B951 #3358B9
square
#B9339B #B99433 #33B951 #3358B9
split-complementary
#B9339B #58B933 #33B994
monochromatic
#59194B #892673 #B9339B #D158B6 #DE88CB

Accessibility & contrast

On white

5.24
#B9339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B9339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9339B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9339B#FFFFFF#000000##FFFFFF
##B9339B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9E
Deuteranopia (green-blind)
#667498
Tritanopia (blue-blind)
#C33963
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b9339b;
/* rgb */ color: rgb(185, 51, 155);
/* oklch */ color: oklch(55.9% 0.201 338.5);
Tailwind
colors: {
  custom: {
    50: '#d277b8',
    500: '#b9339b',
    950: '#000000',
  },
}
SCSS
$custom: #b9339b;
$custom-light: #d277b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b9339b",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 313.433,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55853,
    "c": 0.20115,
    "h": 338.5
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#B9339B
secondary
#80C890
accent
#E06A48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #B9339B

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

Preview Lab → · Contrast checker → · Palette generator →

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