#BD52A8#BD52A8

#BD52A8 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.4% C 0.171 H 335.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BD52A8
RGBrgb(189, 82, 168)
HSLhsl(312, 45%, 53%)
HSVhsv(312, 57%, 74%)
CMYKcmyk(0%, 56.6%, 11.1%, 25.9%)
CIE-LABlab(51.48, 53.59, -25.94)
CIE-LCHlch(51.48, 59.54, 334.17°)
OKLaboklab(60.38% 0.1559 -0.0703)
OKLCHoklch(60.38% 0.171 335.7)
XYZxyz(31.0717, 19.6829, 39.2009)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD52A8 #52BD67
analogous
#9D52BD #BD52A8 #BD5272
triadic
#BD52A8 #A8BD52 #52A8BD
tetradic
#BD52A8 #BD9D52 #52BD67 #5272BD
square
#BD52A8 #BD9D52 #52BD67 #5272BD
split-complementary
#BD52A8 #72BD52 #52BD9D
monochromatic
#6C295F #983A85 #BD52A8 #CE7EBE #DFABD5

Accessibility & contrast

On white

4.25
#BD52A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#BD52A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD52A8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD52A8#FFFFFF#000000##000000
##BD52A81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5370AB
Deuteranopia (green-blind)
#7381A5
Tritanopia (blue-blind)
#C65776
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bd52a8;
/* rgb */ color: rgb(189, 82, 168);
/* oklch */ color: oklch(60.4% 0.171 335.7);
Tailwind
colors: {
  custom: {
    50: '#d388c2',
    500: '#bd52a8',
    950: '#000000',
  },
}
SCSS
$custom: #bd52a8;
$custom-light: #d388c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd52a8",
  "rgb": {
    "r": 189,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 311.776,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60382,
    "c": 0.17102,
    "h": 335.7
  },
  "luminance": 0.19681
}

Semantic roles & 50–950 ramp

primary
#BD52A8
secondary
#9ECCA7
accent
#D46D53
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BD52A8

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

Preview Lab → · Contrast checker → · Palette generator →

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