#B3399E#B3399E

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

Color values

HEX#B3399E
RGBrgb(179, 57, 158)
HSLhsl(310, 52%, 46%)
HSVhsv(310, 68%, 70%)
CMYKcmyk(0%, 68.2%, 11.7%, 29.8%)
CIE-LABlab(45.61, 59.96, -29.27)
CIE-LCHlch(45.61, 66.72, 333.98°)
OKLaboklab(55.64% 0.1751 -0.0797)
OKLCHoklch(55.64% 0.192 335.5)
XYZxyz(26.2254, 14.9808, 33.8515)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3399E #39B34E
analogous
#8B39B3 #B3399E #B33961
triadic
#B3399E #9EB339 #399EB3
tetradic
#B3399E #B38B39 #39B34E #3961B3
square
#B3399E #B38B39 #39B34E #3961B3
split-complementary
#B3399E #61B339 #39B38B
monochromatic
#561B4C #852A75 #B3399E #CC5EB9 #DA8CCD

Accessibility & contrast

On white

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

On black

4.00
#B3399E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B3399E#FFFFFF#000000##FFFFFF
##B3399E1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A1
Deuteranopia (green-blind)
#62739B
Tritanopia (blue-blind)
#BC4167
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b3399e;
/* rgb */ color: rgb(179, 57, 158);
/* oklch */ color: oklch(55.6% 0.192 335.5);
Tailwind
colors: {
  custom: {
    50: '#cd79bb',
    500: '#b3399e',
    950: '#000000',
  },
}
SCSS
$custom: #b3399e;
$custom-light: #cd79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3399e",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 310.328,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55638,
    "c": 0.19236,
    "h": 335.5
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#B3399E
secondary
#83C58E
accent
#DB654D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B3399E

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

Preview Lab → · Contrast checker → · Palette generator →

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