#BB287C

A color in the Purple, Crimson, Magenta family

#bb287c is a color in the Purple, Crimson, Magenta family: RGB(187, 40, 124), HSL(326°, 65%, 45%), CMYK(0%, 79%, 34%, 27%). Closest named color: mediumvioletred. Contrast is 5.66:1 on white and 3.71:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#bb287c
RGBrgb(187 40 124)
RGB (legacy)rgb(187, 40, 124)
RGB %rgb(73% 16% 49%)
HSLhsl(326 65% 45%)
HSV / HSBhsv(326, 79%, 73%)
HWBhwb(326 16% 27%)
CMYKcmyk(0%, 79%, 34%, 27%)
CIELAB (D50)lab(43.94 62.01 -10.68)
LCHlch(43.94 62.92 350.23)
OKLaboklab(0.5395 0.1936 -0.0303)
OKLCHoklch(0.5395 0.196 351.1)
Decimal12265596

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 3
Closest web-safe color#cc3366
Hue326°
Saturation (HSL / HSV)65% / 79%
Lightness (HSL)45%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)37% / 30%
Relative luminance (WCAG)0.1354
Red / Green / Blue187 / 40 / 124

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 76.9 / -24.9 · As background with white / black text: Lc -82.2 / 27.2

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: #bb287c;
  --color-brand-oklch: oklch(53.95% 0.196 351.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(187 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bb287c] text-[#bb287c] border-[#bb287c]">