#B20178

#b20178 ≈ Medium Violet Red

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

#b20178 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 69.8% red, 0.39% green and 47.06% blue; printed in CMYK it uses 0% cyan, 99.44% magenta, 32.58% yellow and 30.2% black. Its hue angle is 319.66°, with 98.88% saturation and 35.1% 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.63:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.03.

Description generated from the measured properties of this color.

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

Readable text 6.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #874869 ≈ 0.001% of males
Protanopia #304b7a ≈ 1.01% of males
Deuteranopia #626675 ≈ 1.27% of males
Tritanopia #c00045 ≈ 0.0001% of males
Protanomaly #7a3a79 ≈ 1.08% of males
Deuteranomaly #895076 ≈ 4.63% of males
Tritanomaly #ba005e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b20178 {
  color: #b20178;
}
Background
.bg-b20178 {
  background-color: #b20178;
  color: #ffffff;
}
Border
.border-b20178 {
  border: 2px solid #b20178;
}
CSS variables
:root {
  --color-primary: #b20178;
  --color-primary-rgb: 178 1 120;
  --color-primary-hsl: 320 99% 35%;
}
Gradient
.gradient-b20178 {
  background: linear-gradient(135deg, #b20178, #b20120);
}
Colored shadow
.shadow-b20178 {
  box-shadow: 0 8px 24px rgb(178 1 120 / 0.35);
}

Medium Violet Red
#b20178  rgb(178, 1, 120)  hsl(320, 99%, 35%)  Medium Violet Red
#01b23b  rgb(1, 178, 59)  hsl(140, 99%, 35%)  Kelly Green
#78b201  rgb(120, 178, 1)  hsl(80, 99%, 35%)  Apple Green
#0178b2  rgb(1, 120, 178)  hsl(200, 99%, 35%)  French Blue