#BB4E8D

A color in the Purple, Crimson, Magenta family

#bb4e8d is a color in the Purple, Crimson, Magenta family: RGB(187, 78, 141), HSL(325°, 44%, 52%), CMYK(0%, 58%, 25%, 27%). Closest named color: mediumvioletred. Contrast is 4.58:1 on white and 4.59:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#bb4e8d
RGBrgb(187 78 141)
RGB (legacy)rgb(187, 78, 141)
RGB %rgb(73% 31% 55%)
HSLhsl(325 44% 52%)
HSV / HSBhsv(325, 58%, 73%)
HWBhwb(325 31% 27%)
CMYKcmyk(0%, 58%, 25%, 27%)
CIELAB (D50)lab(49.66 49.72 -12.43)
LCHlch(49.66 51.25 345.96)
OKLaboklab(0.5845 0.1531 -0.0346)
OKLCHoklch(0.5845 0.157 347.28)
Decimal12275341

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 7.2
Closest web-safe color#cc6699
Hue325°
Saturation (HSL / HSV)44% / 58%
Lightness (HSL)52%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)46% / 41%
Relative luminance (WCAG)0.1794
Red / Green / Blue187 / 78 / 141

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.58:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.59:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 71.2 / -30.5 · As background with white / black text: Lc -76.6 / 32.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #bb4e8d;
  --color-brand-oklch: oklch(58.45% 0.157 347.28);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(187 78 141 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bb4e8d] text-[#bb4e8d] border-[#bb4e8d]">