#B2139D

A color in the Purple, Crimson, Magenta family

#b2139d is a color in the Purple, Crimson, Magenta family: RGB(178, 19, 157), HSL(308°, 81%, 39%), CMYK(0%, 89%, 12%, 30%). Closest named color: mediumvioletred. Contrast is 6.05:1 on white and 3.47:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b2139d
RGBrgb(178 19 157)
RGB (legacy)rgb(178, 19, 157)
RGB %rgb(70% 7% 62%)
HSLhsl(308 81% 39%)
HSV / HSBhsv(308, 89%, 70%)
HWBhwb(308 7% 30%)
CMYKcmyk(0%, 89%, 12%, 30%)
CIELAB (D50)lab(41.87 67.19 -34.12)
LCHlch(41.87 75.36 333.08)
OKLaboklab(0.5285 0.2045 -0.095)
OKLCHoklch(0.5285 0.2255 335.07)
Decimal11670429

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6.2
Closest web-safe color#990099
Hue308°
Saturation (HSL / HSV)81% / 89%
Lightness (HSL)39%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)32% / 25%
Relative luminance (WCAG)0.1237
Red / Green / Blue178 / 19 / 157

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.05:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.47: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 78.3 / -23.5 · As background with white / black text: Lc -83.6 / 25.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: #b2139d;
  --color-brand-oklch: oklch(52.85% 0.2255 335.07);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 19 157 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b2139d] text-[#b2139d] border-[#b2139d]">