#B3339A#B3339A

#B3339A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.9% C 0.197 H 336.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B3339A
RGBrgb(179, 51, 154)
HSLhsl(312, 56%, 45%)
HSVhsv(312, 72%, 70%)
CMYKcmyk(0%, 71.5%, 14%, 29.8%)
CIE-LABlab(44.64, 61.55, -28.38)
CIE-LCHlch(44.64, 67.78, 335.24°)
OKLaboklab(54.88% 0.1811 -0.0772)
OKLCHoklch(54.88% 0.197 336.9)
XYZxyz(25.6074, 14.2868, 31.9746)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3339A #33B34C
analogous
#8C33B3 #B3339A #B3335A
triadic
#B3339A #9AB333 #339AB3
tetradic
#B3339A #B38C33 #33B34C #335AB3
square
#B3339A #B38C33 #33B34C #335AB3
split-complementary
#B3339A #5AB333 #33B38C
monochromatic
#541848 #832571 #B3339A #CE55B7 #DC84CB

Accessibility & contrast

On white

5.44
#B3339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B3339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3339A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3339A#FFFFFF#000000##FFFFFF
##B3339A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9D
Deuteranopia (green-blind)
#617197
Tritanopia (blue-blind)
#BC3B62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3339a;
/* rgb */ color: rgb(179, 51, 154);
/* oklch */ color: oklch(54.9% 0.197 336.9);
Tailwind
colors: {
  custom: {
    50: '#cd76b8',
    500: '#b3339a',
    950: '#000000',
  },
}
SCSS
$custom: #b3339a;
$custom-light: #cd76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b3339a",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 311.719,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54876,
    "c": 0.19683,
    "h": 336.9
  },
  "luminance": 0.14284
}

Semantic roles & 50–950 ramp

primary
#B3339A
secondary
#7CC68B
accent
#DF6649
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B3339A

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

Preview Lab → · Contrast checker → · Palette generator →

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