#B5048A

#b5048a ≈ Medium Violet Red

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

#b5048a is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 70.98% red, 1.57% green and 54.12% blue; printed in CMYK it uses 0% cyan, 97.79% magenta, 23.76% yellow and 29.02% black. Its hue angle is 314.58°, with 95.68% saturation and 36.27% 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.27:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.14.

Description generated from the measured properties of this color.

Conversions of #b5048a 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.1175

Readable text 6.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #8a4b73 ≈ 0.001% of males
Protanopia #264f8d ≈ 1.01% of males
Deuteranopia #5e6987 ≈ 1.27% of males
Tritanopia #c10850 ≈ 0.0001% of males
Protanomaly #7b3e8c ≈ 1.08% of males
Deuteranomaly #8a5388 ≈ 4.63% of males
Tritanomaly #bc066c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b5048a {
  color: #b5048a;
}
Background
.bg-b5048a {
  background-color: #b5048a;
  color: #ffffff;
}
Border
.border-b5048a {
  border: 2px solid #b5048a;
}
CSS variables
:root {
  --color-primary: #b5048a;
  --color-primary-rgb: 181 4 138;
  --color-primary-hsl: 315 96% 36%;
}
Gradient
.gradient-b5048a {
  background: linear-gradient(135deg, #b5048a, #b50431);
}
Colored shadow
.shadow-b5048a {
  box-shadow: 0 8px 24px rgb(181 4 138 / 0.35);
}

Medium Violet Red
#b5048a  rgb(181, 4, 138)  hsl(315, 96%, 36%)  Medium Violet Red
#04b52f  rgb(4, 181, 47)  hsl(135, 96%, 36%)  Kelly Green
#8ab504  rgb(138, 181, 4)  hsl(75, 96%, 36%)  Apple Green
#048ab5  rgb(4, 138, 181)  hsl(195, 96%, 36%)  Bondi Blue