#B8339C#B8339C

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

Color values

HEX#B8339C
RGBrgb(184, 51, 156)
HSLhsl(313, 57%, 46%)
HSVhsv(313, 72%, 72%)
CMYKcmyk(0%, 72.3%, 15.2%, 27.8%)
CIE-LABlab(45.58, 63.06, -28.05)
CIE-LCHlch(45.58, 69.02, 336.02°)
OKLaboklab(55.75% 0.1863 -0.0761)
OKLCHoklch(55.75% 0.201 337.8)
XYZxyz(26.9523, 14.9608, 32.9143)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8339C #33B84F
analogous
#9133B8 #B8339C #B83359
triadic
#B8339C #9CB833 #339CB8
tetradic
#B8339C #B89133 #33B84F #3359B8
square
#B8339C #B89133 #33B84F #3359B8
split-complementary
#B8339C #59B833 #33B891
monochromatic
#58184B #882673 #B8339C #D158B7 #DE88CC

Accessibility & contrast

On white

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

On black

3.99
#B8339C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B8339C#FFFFFF#000000##FFFFFF
##B8339C1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385F9F
Deuteranopia (green-blind)
#647399
Tritanopia (blue-blind)
#C23A64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8339c;
/* rgb */ color: rgb(184, 51, 156);
/* oklch */ color: oklch(55.7% 0.201 337.8);
Tailwind
colors: {
  custom: {
    50: '#d177b9',
    500: '#b8339c',
    950: '#000000',
  },
}
SCSS
$custom: #b8339c;
$custom-light: #d177b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b8339c",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 312.632,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55747,
    "c": 0.20123,
    "h": 337.8
  },
  "luminance": 0.14958
}

Semantic roles & 50–950 ramp

primary
#B8339C
secondary
#7FC88E
accent
#E06848
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B8339C

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

Preview Lab → · Contrast checker → · Palette generator →

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