#BD3171#BD3171

#BD3171 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.184 H 357.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BD3171
RGBrgb(189, 49, 113)
HSLhsl(333, 59%, 47%)
HSVhsv(333, 74%, 74%)
CMYKcmyk(0%, 74.1%, 40.2%, 25.9%)
CIE-LABlab(44.53, 59.72, -3.42)
CIE-LCHlch(44.53, 59.82, 356.73°)
OKLaboklab(54.6% 0.1834 -0.0082)
OKLCHoklch(54.6% 0.184 357.4)
XYZxyz(25.0670, 14.2108, 17.0425)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD3171 #31BD7D
analogous
#BD31B7 #BD3171 #BD3731
triadic
#BD3171 #71BD31 #3171BD
tetradic
#BD3171 #B7BD31 #31BD7D #3731BD
square
#BD3171 #B7BD31 #31BD7D #3731BD
split-complementary
#BD3171 #31BD37 #31B7BD
monochromatic
#5C1837 #8C2454 #BD3171 #D45890 #E088B0

Accessibility & contrast

On white

5.47
#BD3171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BD3171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD3171
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD3171#FFFFFF#000000##FFFFFF
##BD31711.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5973
Deuteranopia (green-blind)
#74736E
Tritanopia (blue-blind)
#CC1E4D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bd3171;
/* rgb */ color: rgb(189, 49, 113);
/* oklch */ color: oklch(54.6% 0.184 357.4);
Tailwind
colors: {
  custom: {
    50: '#d67599',
    500: '#bd3171',
    950: '#000000',
  },
}
SCSS
$custom: #bd3171;
$custom-light: #d67599;
$custom-dark: #000000;
JSON
{
  "hex": "#bd3171",
  "rgb": {
    "r": 189,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 332.571,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54597,
    "c": 0.18356,
    "h": 357.4
  },
  "luminance": 0.14208
}

Semantic roles & 50–950 ramp

primary
#BD3171
secondary
#80CAA8
accent
#E29B46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BD3171

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

Preview Lab → · Contrast checker → · Palette generator →

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