#BB2E8A

A color in the Purple, Crimson, Magenta family

#bb2e8a is a color in the Purple, Crimson, Magenta family: RGB(187, 46, 138), HSL(321°, 61%, 46%), CMYK(0%, 75%, 26%, 27%). Closest named color: mediumvioletred. Contrast is 5.43:1 on white and 3.87:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#bb2e8a
RGBrgb(187 46 138)
RGB (legacy)rgb(187, 46, 138)
RGB %rgb(73% 18% 54%)
HSLhsl(321 61% 46%)
HSV / HSBhsv(321, 75%, 73%)
HWBhwb(321 18% 27%)
CMYKcmyk(0%, 75%, 26%, 27%)
CIELAB (D50)lab(45.02 61.48 -17.61)
LCHlch(45.02 63.95 344.02)
OKLaboklab(0.5498 0.1912 -0.049)
OKLCHoklch(0.5498 0.1973 345.62)
Decimal12267146

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 2.9
Closest web-safe color#cc3399
Hue321°
Saturation (HSL / HSV)61% / 75%
Lightness (HSL)46%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)39% / 32%
Relative luminance (WCAG)0.1435
Red / Green / Blue187 / 46 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.43:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.87: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 75.8 / -26 · As background with white / black text: Lc -81.1 / 28.3

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