#B8287C

A color in the Purple, Crimson, Magenta family

#b8287c is a color in the Purple, Crimson, Magenta family: RGB(184, 40, 124), HSL(325°, 64%, 44%), CMYK(0%, 78%, 33%, 28%). Closest named color: mediumvioletred. Contrast is 5.78:1 on white and 3.63:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b8287c
RGBrgb(184 40 124)
RGB (legacy)rgb(184, 40, 124)
RGB %rgb(72% 16% 49%)
HSLhsl(325 64% 44%)
HSV / HSBhsv(325, 78%, 72%)
HWBhwb(325 16% 28%)
CMYKcmyk(0%, 78%, 33%, 28%)
CIELAB (D50)lab(43.37 61.21 -11.6)
LCHlch(43.37 62.3 349.27)
OKLaboklab(0.5344 0.1911 -0.0328)
OKLCHoklch(0.5344 0.1939 350.27)
Decimal12068988

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 3.4
Closest web-safe color#cc3366
Hue325°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)44%
Brightness or Value (HSV)72%
Luminance (Rec.601 / Rec.709)36% / 30%
Relative luminance (WCAG)0.1316
Red / Green / Blue184 / 40 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.78:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.63: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 77.5 / -24.2 · As background with white / black text: Lc -82.8 / 26.5

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