#B2339B#B2339B

#B2339B is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.8% C 0.197 H 336.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B2339B
RGBrgb(178, 51, 155)
HSLhsl(311, 55%, 45%)
HSVhsv(311, 71%, 70%)
CMYKcmyk(0%, 71.3%, 12.9%, 30.2%)
CIE-LABlab(44.52, 61.45, -29.18)
CIE-LCHlch(44.52, 68.03, 334.60°)
OKLaboklab(54.77% 0.1802 -0.0795)
OKLCHoklch(54.77% 0.197 336.2)
XYZxyz(25.4607, 14.2015, 32.4042)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2339B #33B24A
analogous
#8A33B2 #B2339B #B2335C
triadic
#B2339B #9BB233 #339BB2
tetradic
#B2339B #B28A33 #33B24A #335CB2
square
#B2339B #B28A33 #33B24A #335CB2
split-complementary
#B2339B #5CB233 #33B28A
monochromatic
#531848 #822572 #B2339B #CE54B8 #DC84CC

Accessibility & contrast

On white

5.47
#B2339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B2339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2339B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2339B#FFFFFF#000000##FFFFFF
##B2339B1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9E
Deuteranopia (green-blind)
#607098
Tritanopia (blue-blind)
#BB3B63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b2339b;
/* rgb */ color: rgb(178, 51, 155);
/* oklch */ color: oklch(54.8% 0.197 336.2);
Tailwind
colors: {
  custom: {
    50: '#cd76b9',
    500: '#b2339b',
    950: '#000000',
  },
}
SCSS
$custom: #b2339b;
$custom-light: #cd76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b2339b",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 310.866,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.19693,
    "h": 336.2
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#B2339B
secondary
#7CC589
accent
#DF6449
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2339B

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

Preview Lab → · Contrast checker → · Palette generator →

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