#BD5178#BD5178

#BD5178 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.4% C 0.144 H 359.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BD5178
RGBrgb(189, 81, 120)
HSLhsl(338, 45%, 53%)
HSVhsv(338, 57%, 74%)
CMYKcmyk(0%, 57.1%, 36.5%, 25.9%)
CIE-LABlab(49.57, 47.34, -0.28)
CIE-LCHlch(49.57, 47.34, 359.66°)
OKLaboklab(58.4% 0.1443 -0.0001)
OKLCHoklch(58.4% 0.144 359.9)
XYZxyz(27.3204, 18.0626, 19.8133)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5178 #51BD96
analogous
#BD51AE #BD5178 #BD6051
triadic
#BD5178 #78BD51 #5178BD
tetradic
#BD5178 #AEBD51 #51BD96 #6051BD
square
#BD5178 #AEBD51 #51BD96 #6051BD
split-complementary
#BD5178 #51BD60 #51AEBD
monochromatic
#6B2941 #97395B #BD5178 #CE7D9A #DFAABD

Accessibility & contrast

On white

4.55
#BD5178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BD5178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5178
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5178#FFFFFF#000000##000000
##BD51781.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#807D75
Tritanopia (blue-blind)
#CB4860
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bd5178;
/* rgb */ color: rgb(189, 81, 120);
/* oklch */ color: oklch(58.4% 0.144 359.9);
Tailwind
colors: {
  custom: {
    50: '#d4869e',
    500: '#bd5178',
    950: '#000000',
  },
}
SCSS
$custom: #bd5178;
$custom-light: #d4869e;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5178",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 338.333,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58401,
    "c": 0.14426,
    "h": 359.9
  },
  "luminance": 0.1806
}

Semantic roles & 50–950 ramp

primary
#BD5178
secondary
#9ECCBB
accent
#D5A653
background
#FDF8F9
surface
#FBF0F2
border
#D4CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BD5178

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

Preview Lab → · Contrast checker → · Palette generator →

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