#BD407C#BD407C

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

Color values

HEX#BD407C
RGBrgb(189, 64, 124)
HSLhsl(331, 49%, 50%)
HSVhsv(331, 66%, 74%)
CMYKcmyk(0%, 66.1%, 34.4%, 25.9%)
CIE-LABlab(46.90, 55.35, -6.64)
CIE-LCHlch(46.90, 55.75, 353.16°)
OKLaboklab(56.46% 0.1691 -0.0168)
OKLCHoklch(56.46% 0.17 354.3)
XYZxyz(26.4592, 15.9438, 20.7489)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD407C #40BD81
analogous
#BD40BB #BD407C #BD4340
triadic
#BD407C #7CBD40 #407CBD
tetradic
#BD407C #BBBD40 #40BD81 #4340BD
square
#BD407C #BBBD40 #40BD81 #4340BD
split-complementary
#BD407C #40BD43 #40BBBD
monochromatic
#622140 #8F315E #BD407C #CD6D9B #DD9ABA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD407C#FFFFFF#000000##FFFFFF
##BD407C1.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)
#55617E
Deuteranopia (green-blind)
#777879
Tritanopia (blue-blind)
#CB3759
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bd407c;
/* rgb */ color: rgb(189, 64, 124);
/* oklch */ color: oklch(56.5% 0.170 354.3);
Tailwind
colors: {
  custom: {
    50: '#d57da1',
    500: '#bd407c',
    950: '#000000',
  },
}
SCSS
$custom: #bd407c;
$custom-light: #d57da1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd407c",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 331.2,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.16998,
    "h": 354.3
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#BD407C
secondary
#90C9AE
accent
#D9974F
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BD407C

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

Preview Lab → · Contrast checker → · Palette generator →

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