#B4339D#B4339D

#B4339D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.2% C 0.200 H 336.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B4339D
RGBrgb(180, 51, 157)
HSLhsl(311, 56%, 45%)
HSVhsv(311, 72%, 71%)
CMYKcmyk(0%, 71.7%, 12.8%, 29.4%)
CIE-LABlab(44.95, 62.23, -29.68)
CIE-LCHlch(44.95, 68.95, 334.50°)
OKLaboklab(55.18% 0.1824 -0.0809)
OKLCHoklch(55.18% 0.2 336.1)
XYZxyz(26.0924, 14.5076, 33.3178)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4339D #33B44A
analogous
#8B33B4 #B4339D #B4335C
triadic
#B4339D #9DB433 #339DB4
tetradic
#B4339D #B48B33 #33B44A #335CB4
square
#B4339D #B48B33 #33B44A #335CB4
split-complementary
#B4339D #5CB433 #33B48B
monochromatic
#55184A #842573 #B4339D #CF55B9 #DC85CD

Accessibility & contrast

On white

5.38
#B4339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B4339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4339D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4339D#FFFFFF#000000##FFFFFF
##B4339D1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA0
Deuteranopia (green-blind)
#61719A
Tritanopia (blue-blind)
#BD3C64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b4339d;
/* rgb */ color: rgb(180, 51, 157);
/* oklch */ color: oklch(55.2% 0.200 336.1);
Tailwind
colors: {
  custom: {
    50: '#ce77ba',
    500: '#b4339d',
    950: '#000000',
  },
}
SCSS
$custom: #b4339d;
$custom-light: #ce77ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b4339d",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 310.698,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.19953,
    "h": 336.1
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#B4339D
secondary
#7DC68A
accent
#DF6349
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4339D

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

Preview Lab → · Contrast checker → · Palette generator →

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