#BC287C

A color in the Purple, Crimson, Magenta family

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

Color Codes

HEX#bc287c
RGBrgb(188 40 124)
RGB (legacy)rgb(188, 40, 124)
RGB %rgb(74% 16% 49%)
HSLhsl(326 65% 45%)
HSV / HSBhsv(326, 79%, 74%)
HWBhwb(326 16% 26%)
CMYKcmyk(0%, 79%, 34%, 26%)
CIELAB (D50)lab(44.14 62.27 -10.37)
LCHlch(44.14 63.13 350.55)
OKLaboklab(0.5412 0.1944 -0.0295)
OKLCHoklch(0.5412 0.1967 351.37)
Decimal12331132

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.63:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.73: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.7 / -25.1 · As background with white / black text: Lc -82 / 27.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: #bc287c;
  --color-brand-oklch: oklch(54.12% 0.1967 351.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(188 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bc287c] text-[#bc287c] border-[#bc287c]">