#B8339D#B8339D

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

Color values

HEX#B8339D
RGBrgb(184, 51, 157)
HSLhsl(312, 57%, 46%)
HSVhsv(312, 72%, 72%)
CMYKcmyk(0%, 72.3%, 14.7%, 27.8%)
CIE-LABlab(45.63, 63.20, -28.58)
CIE-LCHlch(45.63, 69.36, 335.67°)
OKLaboklab(55.8% 0.1864 -0.0776)
OKLCHoklch(55.8% 0.202 337.4)
XYZxyz(27.0373, 14.9948, 33.3621)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8339D #33B84E
analogous
#9033B8 #B8339D #B8335B
triadic
#B8339D #9DB833 #339DB8
tetradic
#B8339D #B89033 #33B84E #335BB8
square
#B8339D #B89033 #33B84E #335BB8
split-complementary
#B8339D #5BB833 #33B890
monochromatic
#58184B #882674 #B8339D #D158B8 #DE88CC

Accessibility & contrast

On white

5.25
#B8339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B8339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8339D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8339D#FFFFFF#000000##FFFFFF
##B8339D1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#64739A
Tritanopia (blue-blind)
#C23A64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b8339d;
/* rgb */ color: rgb(184, 51, 157);
/* oklch */ color: oklch(55.8% 0.202 337.4);
Tailwind
colors: {
  custom: {
    50: '#d177ba',
    500: '#b8339d',
    950: '#000000',
  },
}
SCSS
$custom: #b8339d;
$custom-light: #d177ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b8339d",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 312.18,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55796,
    "c": 0.2019,
    "h": 337.4
  },
  "luminance": 0.14992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8339D

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

Preview Lab → · Contrast checker → · Palette generator →

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