#B4408B#B4408B

#B4408B is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.171 H 344.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B4408B
RGBrgb(180, 64, 139)
HSLhsl(321, 48%, 48%)
HSVhsv(321, 64%, 71%)
CMYKcmyk(0%, 64.4%, 22.8%, 29.4%)
CIE-LABlab(45.96, 54.65, -17.30)
CIE-LCHlch(45.96, 57.33, 342.43°)
OKLaboklab(55.65% 0.1643 -0.046)
OKLCHoklch(55.65% 0.171 344.4)
XYZxyz(25.3168, 15.2366, 26.0287)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4408B #40B469
analogous
#A340B4 #B4408B #B44051
triadic
#B4408B #8BB440 #408BB4
tetradic
#B4408B #B4A340 #40B469 #4051B4
square
#B4408B #B4A340 #40B469 #4051B4
split-complementary
#B4408B #51B440 #40B4A3
monochromatic
#5A2045 #873068 #B4408B #C968A7 #D995C1

Accessibility & contrast

On white

5.19
#B4408B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B4408B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4408B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4408B#FFFFFF#000000##FFFFFF
##B4408B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608D
Deuteranopia (green-blind)
#6D7488
Tritanopia (blue-blind)
#BF3F60
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b4408b;
/* rgb */ color: rgb(180, 64, 139);
/* oklch */ color: oklch(55.7% 0.171 344.4);
Tailwind
colors: {
  custom: {
    50: '#ce7cad',
    500: '#b4408b',
    950: '#000000',
  },
}
SCSS
$custom: #b4408b;
$custom-light: #ce7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4408b",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 321.207,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55654,
    "c": 0.17064,
    "h": 344.4
  },
  "luminance": 0.15234
}

Semantic roles & 50–950 ramp

primary
#B4408B
secondary
#8BC59F
accent
#D78051
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B4408B

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

Preview Lab → · Contrast checker → · Palette generator →

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