#BD217F#BD217F

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

Color values

HEX#BD217F
RGBrgb(189, 33, 127)
HSLhsl(324, 70%, 44%)
HSVhsv(324, 83%, 74%)
CMYKcmyk(0%, 82.5%, 32.8%, 25.9%)
CIE-LABlab(43.42, 65.77, -13.71)
CIE-LCHlch(43.42, 67.19, 348.22°)
OKLaboklab(53.95% 0.2017 -0.0358)
OKLCHoklch(53.95% 0.205 349.9)
XYZxyz(25.3624, 13.4419, 21.3335)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD217F #21BD5F
analogous
#AD21BD #BD217F #BD2131
triadic
#BD217F #7FBD21 #217FBD
tetradic
#BD217F #BDAD21 #21BD5F #2131BD
square
#BD217F #BDAD21 #21BD5F #2131BD
split-complementary
#BD217F #31BD21 #21BDAD
monochromatic
#550F39 #89185C #BD217F #DD3E9E #E672B8

Accessibility & contrast

On white

5.69
#BD217F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#BD217F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD217F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD217F#FFFFFF#000000##FFFFFF
##BD217F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#6D707C
Tritanopia (blue-blind)
#CB114F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #bd217f;
/* rgb */ color: rgb(189, 33, 127);
/* oklch */ color: oklch(53.9% 0.205 349.9);
Tailwind
colors: {
  custom: {
    50: '#d670a4',
    500: '#bd217f',
    950: '#000000',
  },
}
SCSS
$custom: #bd217f;
$custom-light: #d670a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd217f",
  "rgb": {
    "r": 189,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 323.846,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.20483,
    "h": 349.9
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#BD217F
secondary
#6DCD93
accent
#ED823B
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BD217F

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

Preview Lab → · Contrast checker → · Palette generator →

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