#B3339B#B3339B

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

Color values

HEX#B3339B
RGBrgb(179, 51, 155)
HSLhsl(311, 56%, 45%)
HSVhsv(311, 72%, 70%)
CMYKcmyk(0%, 71.5%, 13.4%, 29.8%)
CIE-LABlab(44.69, 61.69, -28.91)
CIE-LCHlch(44.69, 68.13, 334.89°)
OKLaboklab(54.93% 0.1812 -0.0787)
OKLCHoklch(54.93% 0.198 336.5)
XYZxyz(25.6910, 14.3202, 32.4150)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3339B #33B34B
analogous
#8B33B3 #B3339B #B3335B
triadic
#B3339B #9BB333 #339BB3
tetradic
#B3339B #B38B33 #33B34B #335BB3
square
#B3339B #B38B33 #33B34B #335BB3
split-complementary
#B3339B #5BB333 #33B38B
monochromatic
#541849 #832572 #B3339B #CE55B8 #DC84CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3339B#FFFFFF#000000##FFFFFF
##B3339B1.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)
#365D9E
Deuteranopia (green-blind)
#617198
Tritanopia (blue-blind)
#BC3B63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3339b;
/* rgb */ color: rgb(179, 51, 155);
/* oklch */ color: oklch(54.9% 0.198 336.5);
Tailwind
colors: {
  custom: {
    50: '#cd76b9',
    500: '#b3339b',
    950: '#000000',
  },
}
SCSS
$custom: #b3339b;
$custom-light: #cd76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b3339b",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 311.25,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54925,
    "c": 0.19754,
    "h": 336.5
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3339B

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

Preview Lab → · Contrast checker → · Palette generator →

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