#BF04A2

#bf04a2 ≈ Medium Violet Red

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

#bf04a2 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 74.9% red, 1.57% green and 63.53% blue; printed in CMYK it uses 0% cyan, 97.91% magenta, 15.18% yellow and 25.1% black. Its hue angle is 309.3°, with 95.9% 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 5.59:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.72.

Description generated from the measured properties of this color.

Conversions of #bf04a2 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.1377

Readable text 5.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.75:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #935183 ≈ 0.001% of males
Protanopia #1358a5 ≈ 1.01% of males
Deuteranopia #5d719e ≈ 1.27% of males
Tritanopia #ca1f5e ≈ 0.0001% of males
Protanomaly #7f44a4 ≈ 1.08% of males
Deuteranomaly #8f59a0 ≈ 4.63% of males
Tritanomaly #c6177f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-bf04a2 {
  color: #bf04a2;
}
Background
.bg-bf04a2 {
  background-color: #bf04a2;
  color: #ffffff;
}
Border
.border-bf04a2 {
  border: 2px solid #bf04a2;
}
CSS variables
:root {
  --color-primary: #bf04a2;
  --color-primary-rgb: 191 4 162;
  --color-primary-hsl: 309 96% 38%;
}
Gradient
.gradient-bf04a2 {
  background: linear-gradient(135deg, #bf04a2, #bf0445);
}
Colored shadow
.shadow-bf04a2 {
  box-shadow: 0 8px 24px rgb(191 4 162 / 0.35);
}

Medium Violet Red
#bf04a2  rgb(191, 4, 162)  hsl(309, 96%, 38%)  Medium Violet Red
#04bf21  rgb(4, 191, 33)  hsl(129, 96%, 38%)  Kelly Green
#a2bf04  rgb(162, 191, 4)  hsl(69, 96%, 38%)  Apple Green
#04a2bf  rgb(4, 162, 191)  hsl(189, 96%, 38%)  Bondi Blue