#B8339E#B8339E

#B8339E is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.8% C 0.203 H 337.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B8339E
RGBrgb(184, 51, 158)
HSLhsl(312, 57%, 46%)
HSVhsv(312, 72%, 72%)
CMYKcmyk(0%, 72.3%, 14.1%, 27.8%)
CIE-LABlab(45.67, 63.35, -29.10)
CIE-LCHlch(45.67, 69.71, 335.32°)
OKLaboklab(55.85% 0.1865 -0.0791)
OKLCHoklch(55.85% 0.203 337)
XYZxyz(27.1230, 15.0291, 33.8136)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8339E #33B84D
analogous
#8F33B8 #B8339E #B8335B
triadic
#B8339E #9EB833 #339EB8
tetradic
#B8339E #B88F33 #33B84D #335BB8
square
#B8339E #B88F33 #33B84D #335BB8
split-complementary
#B8339E #5BB833 #33B88F
monochromatic
#58184C #882675 #B8339E #D158B9 #DE88CD

Accessibility & contrast

On white

5.24
#B8339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8339E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8339E#FFFFFF#000000##FFFFFF
##B8339E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA1
Deuteranopia (green-blind)
#64739B
Tritanopia (blue-blind)
#C23B65
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8339e;
/* rgb */ color: rgb(184, 51, 158);
/* oklch */ color: oklch(55.8% 0.203 337.0);
Tailwind
colors: {
  custom: {
    50: '#d177bb',
    500: '#b8339e',
    950: '#000000',
  },
}
SCSS
$custom: #b8339e;
$custom-light: #d177bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8339e",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 311.729,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.2026,
    "h": 337
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8339E

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

Preview Lab → · Contrast checker → · Palette generator →

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