#B4408F#B4408F

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

Color values

HEX#B4408F
RGBrgb(180, 64, 143)
HSLhsl(319, 48%, 48%)
HSVhsv(319, 64%, 71%)
CMYKcmyk(0%, 64.4%, 20.6%, 29.4%)
CIE-LABlab(46.12, 55.21, -19.47)
CIE-LCHlch(46.12, 58.55, 340.58°)
OKLaboklab(55.83% 0.1652 -0.0521)
OKLCHoklch(55.83% 0.173 342.5)
XYZxyz(25.6144, 15.3557, 27.5962)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4408F #40B465
analogous
#9F40B4 #B4408F #B44055
triadic
#B4408F #8FB440 #408FB4
tetradic
#B4408F #B49F40 #40B465 #4055B4
square
#B4408F #B49F40 #40B465 #4055B4
split-complementary
#B4408F #55B440 #40B49F
monochromatic
#5A2047 #87306B #B4408F #C968AA #D995C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4408F#FFFFFF#000000##FFFFFF
##B4408F1.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)
#496191
Deuteranopia (green-blind)
#6C748C
Tritanopia (blue-blind)
#BF4162
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b4408f;
/* rgb */ color: rgb(180, 64, 143);
/* oklch */ color: oklch(55.8% 0.173 342.5);
Tailwind
colors: {
  custom: {
    50: '#ce7cb0',
    500: '#b4408f',
    950: '#000000',
  },
}
SCSS
$custom: #b4408f;
$custom-light: #ce7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4408f",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 319.138,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55825,
    "c": 0.1732,
    "h": 342.5
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

primary
#B4408F
secondary
#8BC59D
accent
#D77C51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B4408F

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

Preview Lab → · Contrast checker → · Palette generator →

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