#BD21A1#BD21A1

#BD21A1 is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.5% C 0.224 H 337.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BD21A1
RGBrgb(189, 33, 161)
HSLhsl(311, 70%, 44%)
HSVhsv(311, 83%, 74%)
CMYKcmyk(0%, 82.5%, 14.8%, 25.9%)
CIE-LABlab(44.92, 69.98, -32.02)
CIE-LCHlch(44.92, 76.95, 335.41°)
OKLaboklab(55.51% 0.2067 -0.0873)
OKLCHoklch(55.51% 0.224 337.1)
XYZxyz(27.9638, 14.4825, 35.0340)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21A1 #21BD3D
analogous
#8B21BD #BD21A1 #BD2153
triadic
#BD21A1 #A1BD21 #21A1BD
tetradic
#BD21A1 #BD8B21 #21BD3D #2153BD
square
#BD21A1 #BD8B21 #21BD3D #2153BD
split-complementary
#BD21A1 #53BD21 #21BD8B
monochromatic
#550F48 #891875 #BD21A1 #DD3EC1 #E672D1

Accessibility & contrast

On white

5.39
#BD21A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BD21A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD21A1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21A1#FFFFFF#000000##FFFFFF
##BD21A11.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA4
Deuteranopia (green-blind)
#61729E
Tritanopia (blue-blind)
#C72E62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bd21a1;
/* rgb */ color: rgb(189, 33, 161);
/* oklch */ color: oklch(55.5% 0.224 337.1);
Tailwind
colors: {
  custom: {
    50: '#d571bd',
    500: '#bd21a1',
    950: '#000000',
  },
}
SCSS
$custom: #bd21a1;
$custom-light: #d571bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21a1",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 161
  },
  "hsl": {
    "h": 310.769,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5551,
    "c": 0.22439,
    "h": 337.1
  },
  "luminance": 0.1448
}

Semantic roles & 50–950 ramp

primary
#BD21A1
secondary
#6DCD7E
accent
#ED5B3B
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BD21A1

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

Preview Lab → · Contrast checker → · Palette generator →

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