#BD51AB#BD51AB

#BD51AB is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.4% C 0.175 H 334.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BD51AB
RGBrgb(189, 81, 171)
HSLhsl(310, 45%, 53%)
HSVhsv(310, 57%, 74%)
CMYKcmyk(0%, 57.1%, 9.5%, 25.9%)
CIE-LABlab(51.43, 54.54, -27.76)
CIE-LCHlch(51.43, 61.20, 333.02°)
OKLaboklab(60.39% 0.1578 -0.0755)
OKLCHoklch(60.39% 0.175 334.4)
XYZxyz(31.2795, 19.6462, 40.6648)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51AB #51BD63
analogous
#9951BD #BD51AB #BD5175
triadic
#BD51AB #ABBD51 #51ABBD
tetradic
#BD51AB #BD9951 #51BD63 #5175BD
square
#BD51AB #BD9951 #51BD63 #5175BD
split-complementary
#BD51AB #75BD51 #51BD99
monochromatic
#6B2960 #973988 #BD51AB #CE7DC0 #DFAAD6

Accessibility & contrast

On white

4.26
#BD51AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#BD51AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51AB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51AB#FFFFFF#000000##000000
##BD51AB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5070AE
Deuteranopia (green-blind)
#7180A8
Tritanopia (blue-blind)
#C55877
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bd51ab;
/* rgb */ color: rgb(189, 81, 171);
/* oklch */ color: oklch(60.4% 0.175 334.4);
Tailwind
colors: {
  custom: {
    50: '#d387c4',
    500: '#bd51ab',
    950: '#000000',
  },
}
SCSS
$custom: #bd51ab;
$custom-light: #d387c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51ab",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 310,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60394,
    "c": 0.1749,
    "h": 334.4
  },
  "luminance": 0.19644
}

Semantic roles & 50–950 ramp

primary
#BD51AB
secondary
#9ECCA5
accent
#D56953
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BD51AB

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

Preview Lab → · Contrast checker → · Palette generator →

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