#BD40A1#BD40A1

#BD40A1 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.0% C 0.192 H 337.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BD40A1
RGBrgb(189, 64, 161)
HSLhsl(313, 49%, 50%)
HSVhsv(313, 66%, 74%)
CMYKcmyk(0%, 66.1%, 14.8%, 25.9%)
CIE-LABlab(48.34, 60.27, -26.68)
CIE-LCHlch(48.34, 65.91, 336.12°)
OKLaboklab(57.98% 0.1777 -0.0723)
OKLCHoklch(57.98% 0.192 337.9)
XYZxyz(29.2532, 17.0614, 35.4638)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD40A1 #40BD5C
analogous
#9B40BD #BD40A1 #BD4063
triadic
#BD40A1 #A1BD40 #40A1BD
tetradic
#BD40A1 #BD9B40 #40BD5C #4063BD
square
#BD40A1 #BD9B40 #40BD5C #4063BD
split-complementary
#BD40A1 #63BD40 #40BD9B
monochromatic
#622153 #8F317A #BD40A1 #CD6DB8 #DD9ACE

Accessibility & contrast

On white

4.76
#BD40A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BD40A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD40A1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD40A1#FFFFFF#000000##FFFFFF
##BD40A11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A4
Deuteranopia (green-blind)
#6C7A9E
Tritanopia (blue-blind)
#C7466B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bd40a1;
/* rgb */ color: rgb(189, 64, 161);
/* oklch */ color: oklch(58.0% 0.192 337.9);
Tailwind
colors: {
  custom: {
    50: '#d47ebd',
    500: '#bd40a1',
    950: '#000000',
  },
}
SCSS
$custom: #bd40a1;
$custom-light: #d47ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd40a1",
  "rgb": {
    "r": 189,
    "g": 64,
    "b": 161
  },
  "hsl": {
    "h": 313.44,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57981,
    "c": 0.19179,
    "h": 337.9
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#BD40A1
secondary
#90C99D
accent
#D96E4F
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BD40A1

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

Preview Lab → · Contrast checker → · Palette generator →

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