#CF0FA4

#cf0fa4 ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#cf0fa4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 5.88% green and 64.31% blue; printed in CMYK it uses 0% cyan, 92.75% magenta, 20.77% yellow and 18.82% black. Its hue angle is 313.44°, with 86.49% saturation and 43.53% 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 4.93:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.66.

Description generated from the measured properties of this color.

Conversions of #cf0fa4 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.1629

Readable text 4.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9f5988 ≈ 0.001% of males
Protanopia #2b5ea7 ≈ 1.01% of males
Deuteranopia #6c7aa0 ≈ 1.27% of males
Tritanopia #dc1a61 ≈ 0.0001% of males
Protanomaly #8c4aa6 ≈ 1.08% of males
Deuteranomaly #9d61a2 ≈ 4.63% of males
Tritanomaly #d71681 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf0fa4 {
  color: #cf0fa4;
}
Background
.bg-cf0fa4 {
  background-color: #cf0fa4;
  color: #ffffff;
}
Border
.border-cf0fa4 {
  border: 2px solid #cf0fa4;
}
CSS variables
:root {
  --color-primary: #cf0fa4;
  --color-primary-rgb: 207 15 164;
  --color-primary-hsl: 313 86% 44%;
}
Gradient
.gradient-cf0fa4 {
  background: linear-gradient(135deg, #cf0fa4, #cf0f44);
}
Colored shadow
.shadow-cf0fa4 {
  box-shadow: 0 8px 24px rgb(207 15 164 / 0.35);
}

Medium Violet Red
#cf0fa4  rgb(207, 15, 164)  hsl(313, 86%, 44%)  Medium Violet Red
#0fcf3a  rgb(15, 207, 58)  hsl(133, 86%, 44%)  Lime Green
#a4cf0f  rgb(164, 207, 15)  hsl(73, 86%, 44%)  Yellow Green
#0fa4cf  rgb(15, 164, 207)  hsl(193, 86%, 44%)  Bondi Blue