#B4339A#B4339A

#B4339A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.197 H 337.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B4339A
RGBrgb(180, 51, 154)
HSLhsl(312, 56%, 45%)
HSVhsv(312, 72%, 71%)
CMYKcmyk(0%, 71.7%, 14.4%, 29.4%)
CIE-LABlab(44.81, 61.79, -28.11)
CIE-LCHlch(44.81, 67.88, 335.54°)
OKLaboklab(55.03% 0.1821 -0.0764)
OKLCHoklch(55.03% 0.197 337.2)
XYZxyz(25.8394, 14.4064, 31.9854)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4339A #33B44D
analogous
#8D33B4 #B4339A #B43359
triadic
#B4339A #9AB433 #339AB4
tetradic
#B4339A #B48D33 #33B44D #3359B4
square
#B4339A #B48D33 #33B44D #3359B4
split-complementary
#B4339A #59B433 #33B48D
monochromatic
#551848 #842571 #B4339A #CF55B6 #DC85CB

Accessibility & contrast

On white

5.41
#B4339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B4339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4339A
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4339A#FFFFFF#000000##FFFFFF
##B4339A1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9D
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#BE3A62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b4339a;
/* rgb */ color: rgb(180, 51, 154);
/* oklch */ color: oklch(55.0% 0.197 337.2);
Tailwind
colors: {
  custom: {
    50: '#ce76b8',
    500: '#b4339a',
    950: '#000000',
  },
}
SCSS
$custom: #b4339a;
$custom-light: #ce76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b4339a",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 312.093,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5503,
    "c": 0.19744,
    "h": 337.2
  },
  "luminance": 0.14404
}

Semantic roles & 50–950 ramp

primary
#B4339A
secondary
#7DC68C
accent
#DF6749
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4339A

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

Preview Lab → · Contrast checker → · Palette generator →

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