#BD28A2#BD28A2

#BD28A2 is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 56.0% C 0.219 H 336.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BD28A2
RGBrgb(189, 40, 162)
HSLhsl(311, 65%, 45%)
HSVhsv(311, 79%, 74%)
CMYKcmyk(0%, 78.8%, 14.3%, 25.9%)
CIE-LABlab(45.56, 68.39, -31.60)
CIE-LCHlch(45.56, 75.34, 335.20°)
OKLaboklab(55.99% 0.2016 -0.0861)
OKLCHoklch(55.99% 0.219 336.9)
XYZxyz(28.2672, 14.9477, 35.5719)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD28A2 #28BD43
analogous
#8D28BD #BD28A2 #BD2858
triadic
#BD28A2 #A2BD28 #28A2BD
tetradic
#BD28A2 #BD8D28 #28BD43 #2858BD
square
#BD28A2 #BD8D28 #28BD43 #2858BD
split-complementary
#BD28A2 #58BD28 #28BD8D
monochromatic
#58134B #8A1D77 #BD28A2 #D94ABF #E37CD1

Accessibility & contrast

On white

5.26
#BD28A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BD28A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD28A2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD28A2#FFFFFF#000000##FFFFFF
##BD28A21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#62749F
Tritanopia (blue-blind)
#C73364
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd28a2;
/* rgb */ color: rgb(189, 40, 162);
/* oklch */ color: oklch(56.0% 0.219 336.9);
Tailwind
colors: {
  custom: {
    50: '#d574be',
    500: '#bd28a2',
    950: '#000000',
  },
}
SCSS
$custom: #bd28a2;
$custom-light: #d574be;
$custom-dark: #000000;
JSON
{
  "hex": "#bd28a2",
  "rgb": {
    "r": 189,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 310.872,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55989,
    "c": 0.21926,
    "h": 336.9
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#BD28A2
secondary
#75CB85
accent
#E85E40
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BD28A2

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

Preview Lab → · Contrast checker → · Palette generator →

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