#BD4878#BD4878

#BD4878 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.2% C 0.157 H 357.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BD4878
RGBrgb(189, 72, 120)
HSLhsl(335, 47%, 51%)
HSVhsv(335, 62%, 74%)
CMYKcmyk(0%, 61.9%, 36.5%, 25.9%)
CIE-LABlab(48.02, 51.48, -2.55)
CIE-LCHlch(48.02, 51.55, 357.16°)
OKLaboklab(57.25% 0.1572 -0.006)
OKLCHoklch(57.25% 0.157 357.8)
XYZxyz(26.6953, 16.8125, 19.6050)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD4878 #48BD8D
analogous
#BD48B2 #BD4878 #BD5248
triadic
#BD4878 #78BD48 #4878BD
tetradic
#BD4878 #B2BD48 #48BD8D #5248BD
square
#BD4878 #B2BD48 #48BD8D #5248BD
split-complementary
#BD4878 #48BD52 #48B2BD
monochromatic
#66253F #93355B #BD4878 #CD7599 #DDA2BA

Accessibility & contrast

On white

4.81
#BD4878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BD4878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD4878
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD4878#FFFFFF#000000##FFFFFF
##BD48781.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6479
Deuteranopia (green-blind)
#7C7A75
Tritanopia (blue-blind)
#CB3E5B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bd4878;
/* rgb */ color: rgb(189, 72, 120);
/* oklch */ color: oklch(57.2% 0.157 357.8);
Tailwind
colors: {
  custom: {
    50: '#d5819e',
    500: '#bd4878',
    950: '#000000',
  },
}
SCSS
$custom: #bd4878;
$custom-light: #d5819e;
$custom-dark: #000000;
JSON
{
  "hex": "#bd4878",
  "rgb": {
    "r": 189,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 335.385,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57246,
    "c": 0.15731,
    "h": 357.8
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#BD4878
secondary
#97CAB5
accent
#D7A051
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BD4878

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

Preview Lab → · Contrast checker → · Palette generator →

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