#B3339D#B3339D

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

Color values

HEX#B3339D
RGBrgb(179, 51, 157)
HSLhsl(310, 56%, 45%)
HSVhsv(310, 72%, 70%)
CMYKcmyk(0%, 71.5%, 12.3%, 29.8%)
CIE-LABlab(44.78, 61.99, -29.96)
CIE-LCHlch(44.78, 68.85, 334.21°)
OKLaboklab(55.03% 0.1814 -0.0817)
OKLCHoklch(55.03% 0.199 335.8)
XYZxyz(25.8604, 14.3880, 33.3069)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3339D #33B349
analogous
#8933B3 #B3339D #B3335D
triadic
#B3339D #9DB333 #339DB3
tetradic
#B3339D #B38933 #33B349 #335DB3
square
#B3339D #B38933 #33B349 #335DB3
split-complementary
#B3339D #5DB333 #33B389
monochromatic
#541849 #832573 #B3339D #CE55BA #DC84CD

Accessibility & contrast

On white

5.42
#B3339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B3339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3339D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3339D#FFFFFF#000000##FFFFFF
##B3339D1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA0
Deuteranopia (green-blind)
#60719A
Tritanopia (blue-blind)
#BC3C64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3339d;
/* rgb */ color: rgb(179, 51, 157);
/* oklch */ color: oklch(55.0% 0.199 335.8);
Tailwind
colors: {
  custom: {
    50: '#cd76ba',
    500: '#b3339d',
    950: '#000000',
  },
}
SCSS
$custom: #b3339d;
$custom-light: #cd76ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b3339d",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 310.313,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55026,
    "c": 0.19894,
    "h": 335.8
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3339D

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

Preview Lab → · Contrast checker → · Palette generator →

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