#B4408A#B4408A

#B4408A is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.6% C 0.170 H 344.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B4408A
RGBrgb(180, 64, 138)
HSLhsl(322, 48%, 48%)
HSVhsv(322, 64%, 71%)
CMYKcmyk(0%, 64.4%, 23.3%, 29.4%)
CIE-LABlab(45.92, 54.51, -16.76)
CIE-LCHlch(45.92, 57.03, 342.91°)
OKLaboklab(55.61% 0.1641 -0.0445)
OKLCHoklch(55.61% 0.17 344.8)
XYZxyz(25.2441, 15.2075, 25.6457)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4408A #40B46A
analogous
#A440B4 #B4408A #B44050
triadic
#B4408A #8AB440 #408AB4
tetradic
#B4408A #B4A440 #40B46A #4050B4
square
#B4408A #B4A440 #40B46A #4050B4
split-complementary
#B4408A #50B440 #40B4A4
monochromatic
#5A2045 #873067 #B4408A #C968A6 #D995C1

Accessibility & contrast

On white

5.20
#B4408A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B4408A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4408A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4408A#FFFFFF#000000##FFFFFF
##B4408A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#6D7487
Tritanopia (blue-blind)
#BF3F5F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b4408a;
/* rgb */ color: rgb(180, 64, 138);
/* oklch */ color: oklch(55.6% 0.170 344.8);
Tailwind
colors: {
  custom: {
    50: '#ce7cac',
    500: '#b4408a',
    950: '#000000',
  },
}
SCSS
$custom: #b4408a;
$custom-light: #ce7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#b4408a",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 321.724,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55613,
    "c": 0.17001,
    "h": 344.8
  },
  "luminance": 0.15205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4408A

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

Preview Lab → · Contrast checker → · Palette generator →

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