#B6048A

#b6048a ≈ Medium Violet Red

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

#b6048a is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 71.37% red, 1.57% green and 54.12% blue; printed in CMYK it uses 0% cyan, 97.8% magenta, 24.18% yellow and 28.63% black. Its hue angle is 314.83°, with 95.7% saturation and 36.47% 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.23:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.93.

Description generated from the measured properties of this color.

Conversions of #b6048a 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.1187

Readable text 6.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #8b4c73 ≈ 0.001% of males
Protanopia #27508d ≈ 1.01% of males
Deuteranopia #5f6a87 ≈ 1.27% of males
Tritanopia #c20650 ≈ 0.0001% of males
Protanomaly #7b3e8c ≈ 1.08% of males
Deuteranomaly #8a5388 ≈ 4.63% of males
Tritanomaly #be056c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#b6048a  rgb(182, 4, 138)  hsl(315, 96%, 36%)  Medium Violet Red
#04b630  rgb(4, 182, 48)  hsl(135, 96%, 36%)  Kelly Green
#8ab604  rgb(138, 182, 4)  hsl(75, 96%, 36%)  Apple Green
#048ab6  rgb(4, 138, 182)  hsl(195, 96%, 36%)  Bondi Blue