#B3399D#B3399D

#B3399D is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.6% C 0.192 H 335.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B3399D
RGBrgb(179, 57, 157)
HSLhsl(311, 52%, 46%)
HSVhsv(311, 68%, 70%)
CMYKcmyk(0%, 68.2%, 12.3%, 29.8%)
CIE-LABlab(45.56, 59.81, -28.74)
CIE-LCHlch(45.56, 66.36, 334.33°)
OKLaboklab(55.59% 0.1749 -0.0783)
OKLCHoklch(55.59% 0.192 335.9)
XYZxyz(26.1397, 14.9465, 33.4000)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3399D #39B34F
analogous
#8C39B3 #B3399D #B33960
triadic
#B3399D #9DB339 #399DB3
tetradic
#B3399D #B38C39 #39B34F #3960B3
square
#B3399D #B38C39 #39B34F #3960B3
split-complementary
#B3399D #60B339 #39B38C
monochromatic
#561B4C #852A74 #B3399D #CC5EB8 #DA8CCC

Accessibility & contrast

On white

5.26
#B3399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B3399D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3399D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3399D#FFFFFF#000000##FFFFFF
##B3399D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#63729A
Tritanopia (blue-blind)
#BC4166
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b3399d;
/* rgb */ color: rgb(179, 57, 157);
/* oklch */ color: oklch(55.6% 0.192 335.9);
Tailwind
colors: {
  custom: {
    50: '#cd79ba',
    500: '#b3399d',
    950: '#000000',
  },
}
SCSS
$custom: #b3399d;
$custom-light: #cd79ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b3399d",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 310.82,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.19163,
    "h": 335.9
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#B3399D
secondary
#83C58F
accent
#DB664D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B3399D

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

Preview Lab → · Contrast checker → · Palette generator →

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