#AF02BA

#af02ba ≈ Dark Orchid

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

#af02ba is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 0.78% green and 72.94% blue; printed in CMYK it uses 5.91% cyan, 98.92% magenta, 0% yellow and 27.06% black. Its hue angle is 296.41°, with 97.87% saturation and 36.86% 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.93:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 5.67.

Description generated from the measured properties of this color.

Conversions of #af02ba 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.127

Readable text 5.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.54:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #884e8f ≈ 0.001% of males
Protanopia #0058be ≈ 1.01% of males
Deuteranopia #3d6ab7 ≈ 1.27% of males
Tritanopia #b3386d ≈ 0.0001% of males
Protanomaly #6c45bc ≈ 1.08% of males
Deuteranomaly #7b53b8 ≈ 4.63% of males
Tritanomaly #b12b92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af02ba {
  color: #af02ba;
}
Background
.bg-af02ba {
  background-color: #af02ba;
  color: #ffffff;
}
Border
.border-af02ba {
  border: 2px solid #af02ba;
}
CSS variables
:root {
  --color-primary: #af02ba;
  --color-primary-rgb: 175 2 186;
  --color-primary-hsl: 296 98% 37%;
}
Gradient
.gradient-af02ba {
  background: linear-gradient(135deg, #af02ba, #ba0269);
}
Colored shadow
.shadow-af02ba {
  box-shadow: 0 8px 24px rgb(175 2 186 / 0.35);
}

Dark Orchid
#af02ba  rgb(175, 2, 186)  hsl(296, 98%, 37%)  Dark Orchid
#0dba02  rgb(13, 186, 2)  hsl(116, 98%, 37%)  Kelly Green
#baaf02  rgb(186, 175, 2)  hsl(56, 98%, 37%)  Old Gold
#02baaf  rgb(2, 186, 175)  hsl(176, 98%, 37%)  Tiffany Blue