#B5399A#B5399A

#B5399A is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.191 H 337.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B5399A
RGBrgb(181, 57, 154)
HSLhsl(313, 52%, 47%)
HSVhsv(313, 69%, 71%)
CMYKcmyk(0%, 68.5%, 14.9%, 29%)
CIE-LABlab(45.75, 59.87, -26.63)
CIE-LCHlch(45.75, 65.52, 336.02°)
OKLaboklab(55.74% 0.1766 -0.0722)
OKLCHoklch(55.74% 0.191 337.8)
XYZxyz(26.3524, 15.0855, 32.0895)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5399A #39B554
analogous
#9239B5 #B5399A #B5395C
triadic
#B5399A #9AB539 #399AB5
tetradic
#B5399A #B59239 #39B554 #395CB5
square
#B5399A #B59239 #39B554 #395CB5
split-complementary
#B5399A #5CB539 #39B592
monochromatic
#581C4B #862A72 #B5399A #CD5FB5 #DB8DCA

Accessibility & contrast

On white

5.23
#B5399A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B5399A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5399A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5399A#FFFFFF#000000##FFFFFF
##B5399A1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D609D
Deuteranopia (green-blind)
#657397
Tritanopia (blue-blind)
#BF3F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b5399a;
/* rgb */ color: rgb(181, 57, 154);
/* oklch */ color: oklch(55.7% 0.191 337.8);
Tailwind
colors: {
  custom: {
    50: '#cf79b8',
    500: '#b5399a',
    950: '#000000',
  },
}
SCSS
$custom: #b5399a;
$custom-light: #cf79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b5399a",
  "rgb": {
    "r": 181,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 313.065,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.19076,
    "h": 337.8
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#B5399A
secondary
#84C692
accent
#DC6B4C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B5399A

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

Preview Lab → · Contrast checker → · Palette generator →

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