#B21189

#b21189 ≈ Medium Violet Red

  • magenta
  • Lightness: low
  • Saturation: strong
  • Balanced

#b21189 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 69.8% red, 6.67% green and 53.73% blue; printed in CMYK it uses 0% cyan, 90.45% magenta, 23.03% yellow and 30.2% black. Its hue angle is 315.28°, with 82.56% saturation and 38.24% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 6.3:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.3.

Description generated from the measured properties of this color.

Conversions of #b21189 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#990099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1167

Readable text 6.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #884c73 ≈ 0.001% of males
Protanopia #29508c ≈ 1.01% of males
Deuteranopia #5e6986 ≈ 1.27% of males
Tritanopia #be1451 ≈ 0.0001% of males
Protanomaly #793f8b ≈ 1.08% of males
Deuteranomaly #885387 ≈ 4.63% of males
Tritanomaly #b9136c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b21189 {
  color: #b21189;
}
Background
.bg-b21189 {
  background-color: #b21189;
  color: #ffffff;
}
Border
.border-b21189 {
  border: 2px solid #b21189;
}
CSS variables
:root {
  --color-primary: #b21189;
  --color-primary-rgb: 178 17 137;
  --color-primary-hsl: 315 83% 38%;
}
Gradient
.gradient-b21189 {
  background: linear-gradient(135deg, #b21189, #b21139);
}
Colored shadow
.shadow-b21189 {
  box-shadow: 0 8px 24px rgb(178 17 137 / 0.35);
}

Medium Violet Red
#b21189  rgb(178, 17, 137)  hsl(315, 83%, 38%)  Medium Violet Red
#11b23a  rgb(17, 178, 58)  hsl(135, 83%, 38%)  Kelly Green
#89b211  rgb(137, 178, 17)  hsl(75, 83%, 38%)  Apple Green
#1189b2  rgb(17, 137, 178)  hsl(195, 83%, 38%)  Bondi Blue