#BB2CAA

A color in the Purple, Crimson, Magenta family

#bb2caa is a color in the Purple, Crimson, Magenta family: RGB(187, 44, 170), HSL(307°, 62%, 45%), CMYK(0%, 76%, 9%, 27%). Closest named color: mediumvioletred. Contrast is 5.18:1 on white and 4.05:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#bb2caa
RGBrgb(187 44 170)
RGB (legacy)rgb(187, 44, 170)
RGB %rgb(73% 17% 67%)
HSLhsl(307 62% 45%)
HSV / HSBhsv(307, 76%, 73%)
HWBhwb(307 17% 27%)
CMYKcmyk(0%, 76%, 9%, 27%)
CIELAB (D50)lab(46.04 65.21 -35.21)
LCHlch(46.04 74.11 331.63)
OKLaboklab(0.5637 0.1969 -0.0979)
OKLCHoklch(0.5637 0.2199 333.56)
Decimal12266666

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6.3
Closest web-safe color#cc3399
Hue307°
Saturation (HSL / HSV)62% / 76%
Lightness (HSL)45%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)40% / 33%
Relative luminance (WCAG)0.1527
Red / Green / Blue187 / 44 / 170

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.18:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.05: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 74.3 / -27.4 · As background with white / black text: Lc -79.7 / 29.8

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: #bb2caa;
  --color-brand-oklch: oklch(56.37% 0.2199 333.56);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(187 44 170 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bb2caa] text-[#bb2caa] border-[#bb2caa]">