#BB4792

A color in the Purple, Crimson, Magenta family

#bb4792 is a color in the Purple, Crimson, Magenta family: RGB(187, 71, 146), HSL(321°, 46%, 51%), CMYK(0%, 62%, 22%, 27%). Closest named color: mediumvioletred. Contrast is 4.74:1 on white and 4.43:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#bb4792
RGBrgb(187 71 146)
RGB (legacy)rgb(187, 71, 146)
RGB %rgb(73% 28% 57%)
HSLhsl(321 46% 51%)
HSV / HSBhsv(321, 62%, 73%)
HWBhwb(321 28% 27%)
CMYKcmyk(0%, 62%, 22%, 27%)
CIELAB (D50)lab(48.66 53.23 -16.92)
LCHlch(48.66 55.85 342.37)
OKLaboklab(0.578 0.164 -0.0468)
OKLCHoklch(0.578 0.1705 344.06)
Decimal12273554

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6
Closest web-safe color#cc3399
Hue321°
Saturation (HSL / HSV)46% / 62%
Lightness (HSL)51%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)45% / 40%
Relative luminance (WCAG)0.1715
Red / Green / Blue187 / 71 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.74:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.43: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 72.2 / -29.5 · As background with white / black text: Lc -77.6 / 31.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: #bb4792;
  --color-brand-oklch: oklch(57.8% 0.1705 344.06);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(187 71 146 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bb4792] text-[#bb4792] border-[#bb4792]">