#BD21A2#BD21A2

#BD21A2 is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.6% C 0.225 H 336.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BD21A2
RGBrgb(189, 33, 162)
HSLhsl(310, 70%, 44%)
HSVhsv(310, 83%, 74%)
CMYKcmyk(0%, 82.5%, 14.3%, 25.9%)
CIE-LABlab(44.97, 70.11, -32.54)
CIE-LCHlch(44.97, 77.29, 335.10°)
OKLaboklab(55.56% 0.2068 -0.0887)
OKLCHoklch(55.56% 0.225 336.8)
XYZxyz(28.0523, 14.5179, 35.5003)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD21A2 #21BD3C
analogous
#8A21BD #BD21A2 #BD2154
triadic
#BD21A2 #A2BD21 #21A2BD
tetradic
#BD21A2 #BD8A21 #21BD3C #2154BD
square
#BD21A2 #BD8A21 #21BD3C #2154BD
split-complementary
#BD21A2 #54BD21 #21BD8A
monochromatic
#550F49 #891875 #BD21A2 #DD3EC2 #E672D2

Accessibility & contrast

On white

5.38
#BD21A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BD21A2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD21A2#FFFFFF#000000##FFFFFF
##BD21A21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA5
Deuteranopia (green-blind)
#60739F
Tritanopia (blue-blind)
#C72E62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bd21a2;
/* rgb */ color: rgb(189, 33, 162);
/* oklch */ color: oklch(55.6% 0.225 336.8);
Tailwind
colors: {
  custom: {
    50: '#d571be',
    500: '#bd21a2',
    950: '#000000',
  },
}
SCSS
$custom: #bd21a2;
$custom-light: #d571be;
$custom-dark: #000000;
JSON
{
  "hex": "#bd21a2",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 310.385,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55562,
    "c": 0.22503,
    "h": 336.8
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#BD21A2
secondary
#6DCD7D
accent
#ED5A3B
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BD21A2

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

Preview Lab → · Contrast checker → · Palette generator →

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