#B4408D#B4408D

#B4408D is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.7% C 0.172 H 343.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B4408D
RGBrgb(180, 64, 141)
HSLhsl(320, 48%, 48%)
HSVhsv(320, 64%, 71%)
CMYKcmyk(0%, 64.4%, 21.7%, 29.4%)
CIE-LABlab(46.04, 54.93, -18.39)
CIE-LCHlch(46.04, 57.93, 341.49°)
OKLaboklab(55.74% 0.1648 -0.0491)
OKLCHoklch(55.74% 0.172 343.4)
XYZxyz(25.4643, 15.2956, 26.8054)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4408D #40B467
analogous
#A140B4 #B4408D #B44053
triadic
#B4408D #8DB440 #408DB4
tetradic
#B4408D #B4A140 #40B467 #4053B4
square
#B4408D #B4A140 #40B467 #4053B4
split-complementary
#B4408D #53B440 #40B4A1
monochromatic
#5A2046 #87306A #B4408D #C968A9 #D995C2

Accessibility & contrast

On white

5.17
#B4408D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B4408D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4408D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4408D#FFFFFF#000000##FFFFFF
##B4408D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A618F
Deuteranopia (green-blind)
#6C748A
Tritanopia (blue-blind)
#BF4061
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b4408d;
/* rgb */ color: rgb(180, 64, 141);
/* oklch */ color: oklch(55.7% 0.172 343.4);
Tailwind
colors: {
  custom: {
    50: '#ce7cae',
    500: '#b4408d',
    950: '#000000',
  },
}
SCSS
$custom: #b4408d;
$custom-light: #ce7cae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4408d",
  "rgb": {
    "r": 180,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 320.172,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55739,
    "c": 0.17191,
    "h": 343.4
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#B4408D
secondary
#8BC59E
accent
#D77E51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B4408D

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

Preview Lab → · Contrast checker → · Palette generator →

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