#CF28AA

#cf28aa ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#cf28aa is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 15.69% green and 66.67% blue; printed in CMYK it uses 0% cyan, 80.68% magenta, 17.87% yellow and 18.82% black. Its hue angle is 313.29°, with 67.61% saturation and 48.43% 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 brand accents. White text on this color reaches a contrast ratio of 4.63:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.96.

Description generated from the measured properties of this color.

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

Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #a15f8d ≈ 0.001% of males
Protanopia #3564ad ≈ 1.01% of males
Deuteranopia #6e7ea6 ≈ 1.27% of males
Tritanopia #db3168 ≈ 0.0001% of males
Protanomaly #8e52ac ≈ 1.08% of males
Deuteranomaly #9e66a8 ≈ 4.63% of males
Tritanomaly #d62d88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf28aa {
  color: #cf28aa;
}
Background
.bg-cf28aa {
  background-color: #cf28aa;
  color: #ffffff;
}
Border
.border-cf28aa {
  border: 2px solid #cf28aa;
}
CSS variables
:root {
  --color-primary: #cf28aa;
  --color-primary-rgb: 207 40 170;
  --color-primary-hsl: 313 68% 48%;
}
Gradient
.gradient-cf28aa {
  background: linear-gradient(135deg, #cf28aa, #cf2857);
}
Colored shadow
.shadow-cf28aa {
  box-shadow: 0 8px 24px rgb(207 40 170 / 0.35);
}

Medium Violet Red
#cf28aa  rgb(207, 40, 170)  hsl(313, 68%, 48%)  Medium Violet Red
#28cf4d  rgb(40, 207, 77)  hsl(133, 68%, 48%)  Malachite
#aacf28  rgb(170, 207, 40)  hsl(73, 68%, 48%)  Yellow Green
#28aacf  rgb(40, 170, 207)  hsl(193, 68%, 48%)  Moonstone Blue