#BD407D#BD407D

#BD407D is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.5% C 0.170 H 353.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BD407D
RGBrgb(189, 64, 125)
HSLhsl(331, 49%, 50%)
HSVhsv(331, 66%, 74%)
CMYKcmyk(0%, 66.1%, 33.9%, 25.9%)
CIE-LABlab(46.93, 55.47, -7.20)
CIE-LCHlch(46.93, 55.93, 352.60°)
OKLaboklab(56.49% 0.1694 -0.0183)
OKLCHoklch(56.49% 0.17 353.8)
XYZxyz(26.5228, 15.9692, 21.0837)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD407D #40BD80
analogous
#BD40BC #BD407D #BD4240
triadic
#BD407D #7DBD40 #407DBD
tetradic
#BD407D #BCBD40 #40BD80 #4240BD
square
#BD407D #BCBD40 #40BD80 #4240BD
split-complementary
#BD407D #40BD42 #40BCBD
monochromatic
#622141 #8F315F #BD407D #CD6D9C #DD9ABB

Accessibility & contrast

On white

5.01
#BD407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BD407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD407D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD407D#FFFFFF#000000##FFFFFF
##BD407D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54617F
Deuteranopia (green-blind)
#77787A
Tritanopia (blue-blind)
#CB3759
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bd407d;
/* rgb */ color: rgb(189, 64, 125);
/* oklch */ color: oklch(56.5% 0.170 353.8);
Tailwind
colors: {
  custom: {
    50: '#d57da2',
    500: '#bd407d',
    950: '#000000',
  },
}
SCSS
$custom: #bd407d;
$custom-light: #d57da2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd407d",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 330.72,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.17043,
    "h": 353.8
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#BD407D
secondary
#90C9AD
accent
#D9964F
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BD407D

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

Preview Lab → · Contrast checker → · Palette generator →

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