#B3339C#B3339C

#B3339C is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.198 H 336.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B3339C
RGBrgb(179, 51, 156)
HSLhsl(311, 56%, 45%)
HSVhsv(311, 72%, 70%)
CMYKcmyk(0%, 71.5%, 12.8%, 29.8%)
CIE-LABlab(44.74, 61.84, -29.43)
CIE-LCHlch(44.74, 68.49, 334.55°)
OKLaboklab(54.97% 0.1813 -0.0802)
OKLCHoklch(54.97% 0.198 336.1)
XYZxyz(25.7754, 14.3540, 32.8591)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3339C #33B34A
analogous
#8A33B3 #B3339C #B3335C
triadic
#B3339C #9CB333 #339CB3
tetradic
#B3339C #B38A33 #33B34A #335CB3
square
#B3339C #B38A33 #33B34A #335CB3
split-complementary
#B3339C #5CB333 #33B38A
monochromatic
#541849 #832572 #B3339C #CE55B9 #DC84CC

Accessibility & contrast

On white

5.43
#B3339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B3339C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3339C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3339C#FFFFFF#000000##FFFFFF
##B3339C1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9F
Deuteranopia (green-blind)
#617199
Tritanopia (blue-blind)
#BC3C63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3339c;
/* rgb */ color: rgb(179, 51, 156);
/* oklch */ color: oklch(55.0% 0.198 336.1);
Tailwind
colors: {
  custom: {
    50: '#cd76b9',
    500: '#b3339c',
    950: '#000000',
  },
}
SCSS
$custom: #b3339c;
$custom-light: #cd76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b3339c",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 310.781,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.19824,
    "h": 336.1
  },
  "luminance": 0.14352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3339C

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

Preview Lab → · Contrast checker → · Palette generator →

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