#BD407F#BD407F

#BD407F is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.6% C 0.171 H 352.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BD407F
RGBrgb(189, 64, 127)
HSLhsl(330, 49%, 50%)
HSVhsv(330, 66%, 74%)
CMYKcmyk(0%, 66.1%, 32.8%, 25.9%)
CIE-LABlab(47.00, 55.71, -8.31)
CIE-LCHlch(47.00, 56.32, 351.51°)
OKLaboklab(56.57% 0.17 -0.0213)
OKLCHoklch(56.57% 0.171 352.8)
XYZxyz(26.6518, 16.0208, 21.7633)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD407F #40BD7E
analogous
#BD40BD #BD407F #BD4041
triadic
#BD407F #7FBD40 #407FBD
tetradic
#BD407F #BDBD40 #40BD7E #4041BD
square
#BD407F #BDBD40 #40BD7E #4041BD
split-complementary
#BD407F #41BD40 #40BDBD
monochromatic
#622142 #8F3160 #BD407F #CD6D9D #DD9ABC

Accessibility & contrast

On white

5.00
#BD407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BD407F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD407F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD407F#FFFFFF#000000##FFFFFF
##BD407F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546181
Deuteranopia (green-blind)
#76787C
Tritanopia (blue-blind)
#CB385A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bd407f;
/* rgb */ color: rgb(189, 64, 127);
/* oklch */ color: oklch(56.6% 0.171 352.8);
Tailwind
colors: {
  custom: {
    50: '#d57da4',
    500: '#bd407f',
    950: '#000000',
  },
}
SCSS
$custom: #bd407f;
$custom-light: #d57da4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd407f",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 329.76,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56565,
    "c": 0.17136,
    "h": 352.8
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#BD407F
secondary
#90C9AC
accent
#D9934F
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BD407F

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

Preview Lab → · Contrast checker → · Palette generator →

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