#B8339B#B8339B

#B8339B is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 55.7% C 0.201 H 338.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B8339B
RGBrgb(184, 51, 155)
HSLhsl(313, 57%, 46%)
HSVhsv(313, 72%, 72%)
CMYKcmyk(0%, 72.3%, 15.8%, 27.8%)
CIE-LABlab(45.53, 62.91, -27.53)
CIE-LCHlch(45.53, 68.67, 336.37°)
OKLaboklab(55.7% 0.1861 -0.0746)
OKLCHoklch(55.7% 0.201 338.1)
XYZxyz(26.8680, 14.9271, 32.4702)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8339B #33B850
analogous
#9233B8 #B8339B #B83358
triadic
#B8339B #9BB833 #339BB8
tetradic
#B8339B #B89233 #33B850 #3358B8
square
#B8339B #B89233 #33B850 #3358B8
split-complementary
#B8339B #58B833 #33B892
monochromatic
#58184A #882673 #B8339B #D158B6 #DE88CB

Accessibility & contrast

On white

5.27
#B8339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8339B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8339B#FFFFFF#000000##FFFFFF
##B8339B1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9E
Deuteranopia (green-blind)
#657398
Tritanopia (blue-blind)
#C23A63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8339b;
/* rgb */ color: rgb(184, 51, 155);
/* oklch */ color: oklch(55.7% 0.201 338.1);
Tailwind
colors: {
  custom: {
    50: '#d177b8',
    500: '#b8339b',
    950: '#000000',
  },
}
SCSS
$custom: #b8339b;
$custom-light: #d177b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b8339b",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 313.083,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.20055,
    "h": 338.1
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8339B

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

Preview Lab → · Contrast checker → · Palette generator →

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