#B8339F#B8339F

#B8339F is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 55.9% C 0.203 H 336.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B8339F
RGBrgb(184, 51, 159)
HSLhsl(311, 57%, 46%)
HSVhsv(311, 72%, 72%)
CMYKcmyk(0%, 72.3%, 13.6%, 27.8%)
CIE-LABlab(45.72, 63.49, -29.63)
CIE-LCHlch(45.72, 70.06, 334.99°)
OKLaboklab(55.89% 0.1866 -0.0806)
OKLCHoklch(55.89% 0.203 336.6)
XYZxyz(27.2095, 15.0637, 34.2687)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8339F #33B84C
analogous
#8E33B8 #B8339F #B8335C
triadic
#B8339F #9FB833 #339FB8
tetradic
#B8339F #B88E33 #33B84C #335CB8
square
#B8339F #B88E33 #33B84C #335CB8
split-complementary
#B8339F #5CB833 #33B88E
monochromatic
#58184C #882676 #B8339F #D158BA #DE88CE

Accessibility & contrast

On white

5.23
#B8339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B8339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8339F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8339F#FFFFFF#000000##FFFFFF
##B8339F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA2
Deuteranopia (green-blind)
#63739C
Tritanopia (blue-blind)
#C23B65
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8339f;
/* rgb */ color: rgb(184, 51, 159);
/* oklch */ color: oklch(55.9% 0.203 336.6);
Tailwind
colors: {
  custom: {
    50: '#d177bb',
    500: '#b8339f',
    950: '#000000',
  },
}
SCSS
$custom: #b8339f;
$custom-light: #d177bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8339f",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 311.278,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55894,
    "c": 0.20329,
    "h": 336.6
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#B8339F
secondary
#7FC88D
accent
#E06448
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B8339F

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

Preview Lab → · Contrast checker → · Palette generator →

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