#CD0FAC

#cd0fac ≈ Medium Violet Red

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

#cd0fac is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 5.88% green and 67.45% blue; printed in CMYK it uses 0% cyan, 92.68% magenta, 16.1% yellow and 19.61% black. Its hue angle is 310.42°, with 86.36% saturation and 43.14% 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 7.09.

Description generated from the measured properties of this color.

Conversions of #cd0fac 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.163

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 #9e598c ≈ 0.001% of males
Protanopia #1f5faf ≈ 1.01% of males
Deuteranopia #677aa8 ≈ 1.27% of males
Tritanopia #d92466 ≈ 0.0001% of males
Protanomaly #8a4bae ≈ 1.08% of males
Deuteranomaly #9a60aa ≈ 4.63% of males
Tritanomaly #d41d87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd0fac {
  color: #cd0fac;
}
Background
.bg-cd0fac {
  background-color: #cd0fac;
  color: #ffffff;
}
Border
.border-cd0fac {
  border: 2px solid #cd0fac;
}
CSS variables
:root {
  --color-primary: #cd0fac;
  --color-primary-rgb: 205 15 172;
  --color-primary-hsl: 310 86% 43%;
}
Gradient
.gradient-cd0fac {
  background: linear-gradient(135deg, #cd0fac, #cd0f4d);
}
Colored shadow
.shadow-cd0fac {
  box-shadow: 0 8px 24px rgb(205 15 172 / 0.35);
}

Medium Violet Red
#cd0fac  rgb(205, 15, 172)  hsl(310, 86%, 43%)  Medium Violet Red
#0fcd30  rgb(15, 205, 48)  hsl(130, 86%, 43%)  Lime Green
#accd0f  rgb(172, 205, 15)  hsl(70, 86%, 43%)  Yellow Green
#0faccd  rgb(15, 172, 205)  hsl(190, 86%, 43%)  Bondi Blue