#BD217C#BD217C

#BD217C is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.8% C 0.203 H 351.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BD217C
RGBrgb(189, 33, 124)
HSLhsl(325, 70%, 44%)
HSVhsv(325, 83%, 74%)
CMYKcmyk(0%, 82.5%, 34.4%, 25.9%)
CIE-LABlab(43.31, 65.44, -12.04)
CIE-LCHlch(43.31, 66.54, 349.58°)
OKLaboklab(53.83% 0.201 -0.0312)
OKLCHoklch(53.83% 0.203 351.2)
XYZxyz(25.1698, 13.3649, 20.3191)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD217C #21BD62
analogous
#B021BD #BD217C #BD212E
triadic
#BD217C #7CBD21 #217CBD
tetradic
#BD217C #BDB021 #21BD62 #212EBD
square
#BD217C #BDB021 #21BD62 #212EBD
split-complementary
#BD217C #2EBD21 #21BDB0
monochromatic
#550F38 #89185A #BD217C #DD3E9B #E672B6

Accessibility & contrast

On white

5.72
#BD217C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#BD217C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD217C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD217C#FFFFFF#000000##FFFFFF
##BD217C1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#6D7079
Tritanopia (blue-blind)
#CC0D4D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #bd217c;
/* rgb */ color: rgb(189, 33, 124);
/* oklch */ color: oklch(53.8% 0.203 351.2);
Tailwind
colors: {
  custom: {
    50: '#d670a2',
    500: '#bd217c',
    950: '#000000',
  },
}
SCSS
$custom: #bd217c;
$custom-light: #d670a2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd217c",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 325,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.20339,
    "h": 351.2
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#BD217C
secondary
#6DCD95
accent
#ED853B
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #BD217C

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

Preview Lab → · Contrast checker → · Palette generator →

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