#BD217E#BD217E

#BD217E is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.9% C 0.204 H 350.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#BD217E
RGBrgb(189, 33, 126)
HSLhsl(324, 70%, 44%)
HSVhsv(324, 83%, 74%)
CMYKcmyk(0%, 82.5%, 33.3%, 25.9%)
CIE-LABlab(43.38, 65.66, -13.15)
CIE-LCHlch(43.38, 66.97, 348.67°)
OKLaboklab(53.91% 0.2015 -0.0343)
OKLCHoklch(53.91% 0.204 350.3)
XYZxyz(25.2975, 13.4160, 20.9920)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD217E #21BD60
analogous
#AE21BD #BD217E #BD2130
triadic
#BD217E #7EBD21 #217EBD
tetradic
#BD217E #BDAE21 #21BD60 #2130BD
square
#BD217E #BDAE21 #21BD60 #2130BD
split-complementary
#BD217E #30BD21 #21BDAE
monochromatic
#550F39 #89185B #BD217E #DD3E9D #E672B7

Accessibility & contrast

On white

5.70
#BD217E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#BD217E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD217E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD217E#FFFFFF#000000##FFFFFF
##BD217E1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405580
Deuteranopia (green-blind)
#6D707B
Tritanopia (blue-blind)
#CB104E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #bd217e;
/* rgb */ color: rgb(189, 33, 126);
/* oklch */ color: oklch(53.9% 0.204 350.3);
Tailwind
colors: {
  custom: {
    50: '#d670a3',
    500: '#bd217e',
    950: '#000000',
  },
}
SCSS
$custom: #bd217e;
$custom-light: #d670a3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd217e",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 324.231,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.20435,
    "h": 350.3
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#BD217E
secondary
#6DCD94
accent
#ED833B
background
#FDF7FA
surface
#FBEDF3
border
#D4C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BD217E

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

Preview Lab → · Contrast checker → · Palette generator →

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