#AF2E76
Closest named color: Medium Violet Red (#C71585). oklch(52.2% 0.178 350.9), rgb(175, 46, 118).
Aa
White text reads best on this color (6.04:1).
About this color
#AF2E76 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.178 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.054 away. White text reads best on it, at 6.04:1.
| Hue family | Reds |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.178) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.47:1 |
| White text | 6.04:1 |
Values
| HEX | #AF2E76 |
| RGB | rgb(175, 46, 118) |
| HSL | hsl(327, 58%, 43%) |
| OKLCH | oklch(52.2% 0.178 350.9) |
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 #AF2E76 | 6.04:1 | AA | Lc -84.3 | Fine for body text |
| Black text on #AF2E76 | 3.47:1 | AA large text | Lc 25.0 | Dividers and decoration only |
| #AF2E76 text on white | 6.04:1 | AA | Lc 79.0 | Fine for body text |
| #AF2E76 text on black | 3.47:1 | AA large text | Lc -22.8 | 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
#FCF2F6
oklch(97% 0.012 351)
-
Step 100
100
#F8E3EC
oklch(93.5% 0.026 349.8)
-
Step 200
200
#F3CDDD
oklch(88.5% 0.047 350.9)
-
Step 300
300
#ECAAC7
oklch(80.8% 0.085 351.1)
-
Step 400
400
#E07AAB
oklch(70.7% 0.138 351)
-
Step 500
500
#D45397
oklch(63.1% 0.177 350.6)
-
Step 600
600
#BF3281
oklch(55.6% 0.191 350.9)
-
Step 700
700 (this color)
#AF2E76
oklch(52.2% 0.178 350.9)
-
Step 800
800
#862059
oklch(42.8% 0.147 351)
-
Step 900
900
#6C2149
oklch(37.7% 0.115 351.1)
-
Step 950
950
#3F152B
oklch(27% 0.072 350.4)
#AF2E76 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) | #435478 | 0.199 |
| Deuteranopia (no green cones) | #686B73 | 0.177 |
| Tritanopia (no blue cones) | #BC254E | 0.066 |
| Achromatopsia (no color) | #636363 | 0.179 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF2E76
#AF2E76
oklch(52.2% 0.178 350.9)
- #007C61
#007C61
oklch(52.2% 0.103 170.6)
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 #AF2E76, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.054
- Light Burgundy #A8415B ΔE 0.061
- Red Violet #9E0168 ΔE 0.062
- Violet Red #A50055 ΔE 0.063
- Deep Magenta #A0025C ΔE 0.064
- Dark Fuchsia #9D0759 ΔE 0.069
- Raspberry #B00149 ΔE 0.069
- Warm Purple #952E8F ΔE 0.070
Use #AF2E76 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.