#B8339A#B8339A

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

Color values

HEX#B8339A
RGBrgb(184, 51, 154)
HSLhsl(314, 57%, 46%)
HSVhsv(314, 72%, 72%)
CMYKcmyk(0%, 72.3%, 16.3%, 27.8%)
CIE-LABlab(45.49, 62.77, -27.00)
CIE-LCHlch(45.49, 68.33, 336.73°)
OKLaboklab(55.65% 0.186 -0.0732)
OKLCHoklch(55.65% 0.2 338.5)
XYZxyz(26.7843, 14.8936, 32.0297)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8339A #33B851
analogous
#9333B8 #B8339A #B83357
triadic
#B8339A #9AB833 #339AB8
tetradic
#B8339A #B89333 #33B851 #3357B8
square
#B8339A #B89333 #33B851 #3357B8
split-complementary
#B8339A #57B833 #33B893
monochromatic
#58184A #882672 #B8339A #D158B5 #DE88CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8339A#FFFFFF#000000##FFFFFF
##B8339A1.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)
#3A5E9D
Deuteranopia (green-blind)
#657397
Tritanopia (blue-blind)
#C23962
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8339a;
/* rgb */ color: rgb(184, 51, 154);
/* oklch */ color: oklch(55.6% 0.200 338.5);
Tailwind
colors: {
  custom: {
    50: '#d177b8',
    500: '#b8339a',
    950: '#000000',
  },
}
SCSS
$custom: #b8339a;
$custom-light: #d177b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b8339a",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 313.534,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.19988,
    "h": 338.5
  },
  "luminance": 0.14891
}

Semantic roles & 50–950 ramp

primary
#B8339A
secondary
#7FC88F
accent
#E06A48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #B8339A

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

Preview Lab → · Contrast checker → · Palette generator →

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