#AF12CB

#af12cb ≈ Dark Orchid

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

#af12cb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 7.06% green and 79.61% blue; printed in CMYK it uses 13.79% cyan, 91.13% magenta, 0% yellow and 20.39% black. Its hue angle is 290.92°, with 83.71% saturation and 43.33% 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.57:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 3.93.

Description generated from the measured properties of this color.

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

Readable text 5.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.77:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #8a539a ≈ 0.001% of males
Protanopia #005ecf ≈ 1.01% of males
Deuteranopia #2d6dc7 ≈ 1.27% of males
Tritanopia #af4578 ≈ 0.0001% of males
Protanomaly #694bce ≈ 1.08% of males
Deuteranomaly #7856c9 ≈ 4.63% of males
Tritanomaly #af37a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af12cb {
  color: #af12cb;
}
Background
.bg-af12cb {
  background-color: #af12cb;
  color: #ffffff;
}
Border
.border-af12cb {
  border: 2px solid #af12cb;
}
CSS variables
:root {
  --color-primary: #af12cb;
  --color-primary-rgb: 175 18 203;
  --color-primary-hsl: 291 84% 43%;
}
Gradient
.gradient-af12cb {
  background: linear-gradient(135deg, #af12cb, #cb128a);
}
Colored shadow
.shadow-af12cb {
  box-shadow: 0 8px 24px rgb(175 18 203 / 0.35);
}

Dark Orchid
#af12cb  rgb(175, 18, 203)  hsl(291, 84%, 43%)  Dark Orchid
#2ecb12  rgb(46, 203, 18)  hsl(111, 84%, 43%)  Lime Green
#cbaf12  rgb(203, 175, 18)  hsl(51, 84%, 43%)  Old Gold
#12cbaf  rgb(18, 203, 175)  hsl(171, 84%, 43%)  Medium Aquamarine