#B3399B#B3399B

#B3399B is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.5% C 0.190 H 336.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B3399B
RGBrgb(179, 57, 155)
HSLhsl(312, 52%, 46%)
HSVhsv(312, 68%, 70%)
CMYKcmyk(0%, 68.2%, 13.4%, 29.8%)
CIE-LABlab(45.47, 59.50, -27.69)
CIE-LCHlch(45.47, 65.63, 335.04°)
OKLaboklab(55.49% 0.1747 -0.0753)
OKLCHoklch(55.49% 0.19 336.7)
XYZxyz(25.9703, 14.8788, 32.5081)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3399B #39B351
analogous
#8E39B3 #B3399B #B3395E
triadic
#B3399B #9BB339 #399BB3
tetradic
#B3399B #B38E39 #39B351 #395EB3
square
#B3399B #B38E39 #39B351 #395EB3
split-complementary
#B3399B #5EB339 #39B38E
monochromatic
#561B4B #852A73 #B3399B #CC5EB6 #DA8CCB

Accessibility & contrast

On white

5.28
#B3399B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B3399B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3399B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3399B#FFFFFF#000000##FFFFFF
##B3399B1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C609E
Deuteranopia (green-blind)
#637298
Tritanopia (blue-blind)
#BC4065
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b3399b;
/* rgb */ color: rgb(179, 57, 155);
/* oklch */ color: oklch(55.5% 0.190 336.7);
Tailwind
colors: {
  custom: {
    50: '#cd79b8',
    500: '#b3399b',
    950: '#000000',
  },
}
SCSS
$custom: #b3399b;
$custom-light: #cd79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b3399b",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 311.803,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5549,
    "c": 0.19019,
    "h": 336.7
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#B3399B
secondary
#83C590
accent
#DB694D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B3399B

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

Preview Lab → · Contrast checker → · Palette generator →

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