#B2339A#B2339A

#B2339A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.196 H 336.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B2339A
RGBrgb(178, 51, 154)
HSLhsl(311, 55%, 45%)
HSVhsv(311, 71%, 70%)
CMYKcmyk(0%, 71.3%, 13.5%, 30.2%)
CIE-LABlab(44.47, 61.30, -28.66)
CIE-LCHlch(44.47, 67.67, 334.94°)
OKLaboklab(54.72% 0.1801 -0.078)
OKLCHoklch(54.72% 0.196 336.6)
XYZxyz(25.3771, 14.1680, 31.9638)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2339A #33B24B
analogous
#8B33B2 #B2339A #B2335A
triadic
#B2339A #9AB233 #339AB2
tetradic
#B2339A #B28B33 #33B24B #335AB2
square
#B2339A #B28B33 #33B24B #335AB2
split-complementary
#B2339A #5AB233 #33B28B
monochromatic
#531848 #822571 #B2339A #CE54B7 #DC84CB

Accessibility & contrast

On white

5.48
#B2339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B2339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2339A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2339A#FFFFFF#000000##FFFFFF
##B2339A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9D
Deuteranopia (green-blind)
#617097
Tritanopia (blue-blind)
#BB3B62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b2339a;
/* rgb */ color: rgb(178, 51, 154);
/* oklch */ color: oklch(54.7% 0.196 336.6);
Tailwind
colors: {
  custom: {
    50: '#cd76b8',
    500: '#b2339a',
    950: '#000000',
  },
}
SCSS
$custom: #b2339a;
$custom-light: #cd76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b2339a",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 311.339,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.19623,
    "h": 336.6
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#B2339A
secondary
#7CC58A
accent
#DF6549
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2339A

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

Preview Lab → · Contrast checker → · Palette generator →

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