#B4339E#B4339E

#B4339E is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.2% C 0.200 H 335.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B4339E
RGBrgb(180, 51, 158)
HSLhsl(310, 56%, 45%)
HSVhsv(310, 72%, 71%)
CMYKcmyk(0%, 71.7%, 12.2%, 29.4%)
CIE-LABlab(45.00, 62.38, -30.21)
CIE-LCHlch(45.00, 69.31, 334.16°)
OKLaboklab(55.23% 0.1825 -0.0824)
OKLCHoklch(55.23% 0.2 335.7)
XYZxyz(26.1781, 14.5419, 33.7693)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4339E #33B449
analogous
#8A33B4 #B4339E #B4335D
triadic
#B4339E #9EB433 #339EB4
tetradic
#B4339E #B48A33 #33B449 #335DB4
square
#B4339E #B48A33 #33B449 #335DB4
split-complementary
#B4339E #5DB433 #33B48A
monochromatic
#55184A #842574 #B4339E #CF55BA #DC85CE

Accessibility & contrast

On white

5.37
#B4339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B4339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4339E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4339E#FFFFFF#000000##FFFFFF
##B4339E1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA1
Deuteranopia (green-blind)
#60719B
Tritanopia (blue-blind)
#BD3C65
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b4339e;
/* rgb */ color: rgb(180, 51, 158);
/* oklch */ color: oklch(55.2% 0.200 335.7);
Tailwind
colors: {
  custom: {
    50: '#ce77bb',
    500: '#b4339e',
    950: '#000000',
  },
}
SCSS
$custom: #b4339e;
$custom-light: #ce77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4339e",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 310.233,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.20024,
    "h": 335.7
  },
  "luminance": 0.1454
}

Semantic roles & 50–950 ramp

primary
#B4339E
secondary
#7DC689
accent
#DF6249
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4339E

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

Preview Lab → · Contrast checker → · Palette generator →

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