#AF006A
Closest named color: Red Violet (#9E0168). oklch(49.4% 0.204 353.6), rgb(175, 0, 106).
Aa
White text reads best on this color (6.92:1).
About this color
#AF006A is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.204 and its hue 354°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.037 away. White text reads best on it, at 6.92:1.
| Hue family | Reds |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.204) |
| Temperature | warm |
| Nearest name | Red Violet (#9E0168) |
| Black text | 3.03:1 |
| White text | 6.92:1 |
Values
| HEX | #AF006A |
| RGB | rgb(175, 0, 106) |
| HSL | hsl(324, 100%, 34%) |
| OKLCH | oklch(49.4% 0.204 353.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #AF006A | 6.92:1 | AA | Lc -86.6 | Fine for body text |
| Black text on #AF006A | 3.03:1 | AA large text | Lc 22.5 | Dividers and decoration only |
| #AF006A text on white | 6.92:1 | AA | Lc 81.5 | Fine for body text |
| #AF006A text on black | 3.03:1 | AA large text | Lc -20.4 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#FDF2F6
oklch(97.1% 0.013 353.1)
-
Step 100
100
#FAE2EB
oklch(93.5% 0.029 352.9)
-
Step 200
200
#F8CBDC
oklch(88.6% 0.055 353.6)
-
Step 300
300
#F3A6C5
oklch(80.8% 0.098 353.7)
-
Step 400
400
#E972A8
oklch(70.6% 0.158 353.4)
-
Step 500
500
#DF4693
oklch(63.2% 0.201 353.5)
-
Step 600
600
#CA177D
oklch(55.6% 0.219 353.6)
-
Step 700
700 (this color)
#AF006A
oklch(49.4% 0.204 353.6)
-
Step 800
800
#8D0C56
oklch(42.6% 0.168 353.4)
-
Step 900
900
#721847
oklch(37.8% 0.131 353.6)
-
Step 950
950
#431029
oklch(26.9% 0.083 354)
#AF006A with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #35476C | 0.233 |
| Deuteranopia (no green cones) | #636467 | 0.203 |
| Tritanopia (no blue cones) | #BE003C | 0.080 |
| Achromatopsia (no color) | #5A5A5A | 0.205 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF006A
#AF006A
oklch(49.4% 0.204 353.6)
- #00725D
#00725D
oklch(49.3% 0.094 174)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AF006A, closest first.
No curated palette has a color within ΔE 0.04 of #AF006A.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Violet #9E0168 ΔE 0.037
- Deep Magenta #A0025C ΔE 0.037
- Violet Red #A50055 ΔE 0.038
- Dark Fuchsia #9D0759 ΔE 0.044
- Raspberry #B00149 ΔE 0.053
- Medium Violet Red #C71585 ΔE 0.064
- Berry #990F4B ΔE 0.065
- Purple Red #990147 ΔE 0.069
Use #AF006A in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.