#B40A92

#b40a92 ≈ Medium Violet Red

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

#b40a92 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 70.59% red, 3.92% green and 57.25% blue; printed in CMYK it uses 0% cyan, 94.44% magenta, 18.89% yellow and 29.41% black. Its hue angle is 312°, with 89.47% saturation and 37.25% 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.18:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.14.

Description generated from the measured properties of this color.

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

Readable text 6.18:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #8a4c78 ≈ 0.001% of males
Protanopia #1f5195 ≈ 1.01% of males
Deuteranopia #5b6a8f ≈ 1.27% of males
Tritanopia #bf1955 ≈ 0.0001% of males
Protanomaly #794094 ≈ 1.08% of males
Deuteranomaly #885390 ≈ 4.63% of males
Tritanomaly #bb1473 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b40a92 {
  color: #b40a92;
}
Background
.bg-b40a92 {
  background-color: #b40a92;
  color: #ffffff;
}
Border
.border-b40a92 {
  border: 2px solid #b40a92;
}
CSS variables
:root {
  --color-primary: #b40a92;
  --color-primary-rgb: 180 10 146;
  --color-primary-hsl: 312 89% 37%;
}
Gradient
.gradient-b40a92 {
  background: linear-gradient(135deg, #b40a92, #b40a3d);
}
Colored shadow
.shadow-b40a92 {
  box-shadow: 0 8px 24px rgb(180 10 146 / 0.35);
}

Medium Violet Red
#b40a92  rgb(180, 10, 146)  hsl(312, 89%, 37%)  Medium Violet Red
#0ab42c  rgb(10, 180, 44)  hsl(132, 89%, 37%)  Kelly Green
#92b40a  rgb(146, 180, 10)  hsl(72, 89%, 37%)  Apple Green
#0a92b4  rgb(10, 146, 180)  hsl(192, 89%, 37%)  Bondi Blue