#BD2A9F#BD2A9F

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

Color values

HEX#BD2A9F
RGBrgb(189, 42, 159)
HSLhsl(312, 64%, 45%)
HSVhsv(312, 78%, 74%)
CMYKcmyk(0%, 77.8%, 15.9%, 25.9%)
CIE-LABlab(45.61, 67.43, -29.74)
CIE-LCHlch(45.61, 73.70, 336.20°)
OKLaboklab(55.97% 0.1997 -0.0808)
OKLCHoklch(55.97% 0.215 338)
XYZxyz(28.0729, 14.9807, 34.2073)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD2A9F #2ABD48
analogous
#912ABD #BD2A9F #BD2A55
triadic
#BD2A9F #9FBD2A #2A9FBD
tetradic
#BD2A9F #BD912A #2ABD48 #2A55BD
square
#BD2A9F #BD912A #2ABD48 #2A55BD
split-complementary
#BD2A9F #55BD2A #2ABD91
monochromatic
#59144B #8B1F75 #BD2A9F #D74DBB #E37FCE

Accessibility & contrast

On white

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

On black

4.00
#BD2A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BD2A9F#FFFFFF#000000##FFFFFF
##BD2A9F1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA2
Deuteranopia (green-blind)
#64749C
Tritanopia (blue-blind)
#C83363
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd2a9f;
/* rgb */ color: rgb(189, 42, 159);
/* oklch */ color: oklch(56.0% 0.215 338.0);
Tailwind
colors: {
  custom: {
    50: '#d574bb',
    500: '#bd2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #bd2a9f;
$custom-light: #d574bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd2a9f",
  "rgb": {
    "r": 189,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 312.245,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55974,
    "c": 0.21547,
    "h": 338
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#BD2A9F
secondary
#78CB89
accent
#E76341
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BD2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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