#BD407B#BD407B

#BD407B is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.4% C 0.170 H 354.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BD407B
RGBrgb(189, 64, 123)
HSLhsl(332, 49%, 50%)
HSVhsv(332, 66%, 74%)
CMYKcmyk(0%, 66.1%, 34.9%, 25.9%)
CIE-LABlab(46.87, 55.24, -6.08)
CIE-LCHlch(46.87, 55.57, 353.72°)
OKLaboklab(56.42% 0.1688 -0.0153)
OKLCHoklch(56.42% 0.17 354.8)
XYZxyz(26.3963, 15.9186, 20.4176)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD407B #40BD82
analogous
#BD40BA #BD407B #BD4440
triadic
#BD407B #7BBD40 #407BBD
tetradic
#BD407B #BABD40 #40BD82 #4440BD
square
#BD407B #BABD40 #40BD82 #4440BD
split-complementary
#BD407B #40BD44 #40BABD
monochromatic
#62213F #8F315D #BD407B #CD6D9A #DD9ABA

Accessibility & contrast

On white

5.02
#BD407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BD407B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD407B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD407B#FFFFFF#000000##FFFFFF
##BD407B1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607D
Deuteranopia (green-blind)
#777878
Tritanopia (blue-blind)
#CB3658
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bd407b;
/* rgb */ color: rgb(189, 64, 123);
/* oklch */ color: oklch(56.4% 0.170 354.8);
Tailwind
colors: {
  custom: {
    50: '#d57da1',
    500: '#bd407b',
    950: '#000000',
  },
}
SCSS
$custom: #bd407b;
$custom-light: #d57da1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd407b",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 331.68,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56422,
    "c": 0.16953,
    "h": 354.8
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#BD407B
secondary
#90C9AE
accent
#D9984F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BD407B

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

Preview Lab → · Contrast checker → · Palette generator →

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