#BD3178#BD3178

#BD3178 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.186 H 354.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BD3178
RGBrgb(189, 49, 120)
HSLhsl(330, 59%, 47%)
HSVhsv(330, 74%, 74%)
CMYKcmyk(0%, 74.1%, 36.5%, 25.9%)
CIE-LABlab(44.77, 60.46, -7.38)
CIE-LCHlch(44.77, 60.91, 353.04°)
OKLaboklab(54.84% 0.1855 -0.0187)
OKLCHoklch(54.84% 0.186 354.2)
XYZxyz(25.4764, 14.3746, 19.1986)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD3178 #31BD76
analogous
#BC31BD #BD3178 #BD3132
triadic
#BD3178 #78BD31 #3178BD
tetradic
#BD3178 #BDBC31 #31BD76 #3132BD
square
#BD3178 #BDBC31 #31BD76 #3132BD
split-complementary
#BD3178 #32BD31 #31BDBC
monochromatic
#5C183A #8C2459 #BD3178 #D45896 #E088B5

Accessibility & contrast

On white

5.42
#BD3178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BD3178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD3178
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD3178#FFFFFF#000000##FFFFFF
##BD31781.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C597A
Deuteranopia (green-blind)
#737375
Tritanopia (blue-blind)
#CC2350
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bd3178;
/* rgb */ color: rgb(189, 49, 120);
/* oklch */ color: oklch(54.8% 0.186 354.2);
Tailwind
colors: {
  custom: {
    50: '#d6769e',
    500: '#bd3178',
    950: '#000000',
  },
}
SCSS
$custom: #bd3178;
$custom-light: #d6769e;
$custom-dark: #000000;
JSON
{
  "hex": "#bd3178",
  "rgb": {
    "r": 189,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 329.571,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54842,
    "c": 0.18642,
    "h": 354.2
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#BD3178
secondary
#80CAA4
accent
#E29346
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BD3178

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

Preview Lab → · Contrast checker → · Palette generator →

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