#B5339F#B5339F

#B5339F is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.4% C 0.202 H 335.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B5339F
RGBrgb(181, 51, 159)
HSLhsl(310, 56%, 45%)
HSVhsv(310, 72%, 71%)
CMYKcmyk(0%, 71.8%, 12.2%, 29%)
CIE-LABlab(45.22, 62.77, -30.45)
CIE-LCHlch(45.22, 69.77, 334.12°)
OKLaboklab(55.43% 0.1836 -0.0831)
OKLCHoklch(55.43% 0.202 335.7)
XYZxyz(26.4983, 14.6970, 34.2354)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5339F #33B549
analogous
#8A33B5 #B5339F #B5335E
triadic
#B5339F #9FB533 #339FB5
tetradic
#B5339F #B58A33 #33B549 #335EB5
square
#B5339F #B58A33 #33B549 #335EB5
split-complementary
#B5339F #5EB533 #33B58A
monochromatic
#56184B #852675 #B5339F #CF56BB #DD86CE

Accessibility & contrast

On white

5.33
#B5339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B5339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5339F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5339F#FFFFFF#000000##FFFFFF
##B5339F1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA2
Deuteranopia (green-blind)
#61729C
Tritanopia (blue-blind)
#BE3C65
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b5339f;
/* rgb */ color: rgb(181, 51, 159);
/* oklch */ color: oklch(55.4% 0.202 335.7);
Tailwind
colors: {
  custom: {
    50: '#cf77bb',
    500: '#b5339f',
    950: '#000000',
  },
}
SCSS
$custom: #b5339f;
$custom-light: #cf77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b5339f",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 310.154,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55433,
    "c": 0.20153,
    "h": 335.7
  },
  "luminance": 0.14695
}

Semantic roles & 50–950 ramp

primary
#B5339F
secondary
#7DC68A
accent
#DF6248
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B5339F

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

Preview Lab → · Contrast checker → · Palette generator →

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