#B5408B#B5408B

#B5408B is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.171 H 344.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B5408B
RGBrgb(181, 64, 139)
HSLhsl(322, 48%, 48%)
HSVhsv(322, 65%, 71%)
CMYKcmyk(0%, 64.6%, 23.2%, 29%)
CIE-LABlab(46.12, 54.94, -17.04)
CIE-LCHlch(46.12, 57.52, 342.77°)
OKLaboklab(55.81% 0.1653 -0.0453)
OKLCHoklch(55.81% 0.171 344.7)
XYZxyz(25.5505, 15.3571, 26.0397)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5408B #40B56A
analogous
#A440B5 #B5408B #B54051
triadic
#B5408B #8BB540 #408BB5
tetradic
#B5408B #B5A440 #40B56A #4051B5
square
#B5408B #B5A440 #40B56A #4051B5
split-complementary
#B5408B #51B540 #40B5A4
monochromatic
#5B2046 #883068 #B5408B #CA68A7 #DA96C1

Accessibility & contrast

On white

5.16
#B5408B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B5408B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5408B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5408B#FFFFFF#000000##FFFFFF
##B5408B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#6E7488
Tritanopia (blue-blind)
#C03F60
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b5408b;
/* rgb */ color: rgb(181, 64, 139);
/* oklch */ color: oklch(55.8% 0.171 344.7);
Tailwind
colors: {
  custom: {
    50: '#cf7cad',
    500: '#b5408b',
    950: '#000000',
  },
}
SCSS
$custom: #b5408b;
$custom-light: #cf7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5408b",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 321.538,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.17141,
    "h": 344.7
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#B5408B
secondary
#8BC5A0
accent
#D78150
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5408B

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

Preview Lab → · Contrast checker → · Palette generator →

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