#BB4C8A

A color in the Purple, Crimson, Magenta family

#bb4c8a is a color in the Purple, Crimson, Magenta family: RGB(187, 76, 138), HSL(326°, 45%, 52%), CMYK(0%, 59%, 26%, 27%). Closest named color: mediumvioletred. Contrast is 4.65:1 on white and 4.51:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#bb4c8a
RGBrgb(187 76 138)
RGB (legacy)rgb(187, 76, 138)
RGB %rgb(73% 30% 54%)
HSLhsl(326 45% 52%)
HSV / HSBhsv(326, 59%, 73%)
HWBhwb(326 30% 27%)
CMYKcmyk(0%, 59%, 26%, 27%)
CIELAB (D50)lab(49.23 50.3 -11.28)
LCHlch(49.23 51.55 347.36)
OKLaboklab(0.5809 0.1551 -0.0315)
OKLCHoklch(0.5809 0.1583 348.52)
Decimal12274826

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6.9
Closest web-safe color#cc3399
Hue326°
Saturation (HSL / HSV)45% / 59%
Lightness (HSL)52%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)46% / 41%
Relative luminance (WCAG)0.1757
Red / Green / Blue187 / 76 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.65:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.51: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.7 / -30 · As background with white / black text: Lc -77.1 / 32.4

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: #bb4c8a;
  --color-brand-oklch: oklch(58.09% 0.1583 348.52);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(187 76 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bb4c8a] text-[#bb4c8a] border-[#bb4c8a]">