#AF2981
Closest named color: Medium Violet Red (#C71585). oklch(52.2% 0.189 345.5), rgb(175, 41, 129).
Aa
White text reads best on this color (6.07:1).
About this color
#AF2981 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.189 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.047 away. White text reads best on it, at 6.07:1.
| Hue family | Reds |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.189) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.45:1 |
| White text | 6.07:1 |
Values
| HEX | #AF2981 |
| RGB | rgb(175, 41, 129) |
| HSL | hsl(321, 62%, 42%) |
| OKLCH | oklch(52.2% 0.189 345.5) |
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 #AF2981 | 6.07:1 | AA | Lc -84.3 | Fine for body text |
| Black text on #AF2981 | 3.45:1 | AA large text | Lc 25.0 | Dividers and decoration only |
| #AF2981 text on white | 6.07:1 | AA | Lc 79.1 | Fine for body text |
| #AF2981 text on black | 3.45: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
#FCF2F7
oklch(97% 0.013 345.5)
-
Step 100
100
#F8E3EE
oklch(93.6% 0.027 344.6)
-
Step 200
200
#F3CCE1
oklch(88.5% 0.052 344.6)
-
Step 300
300
#ECA9CE
oklch(80.9% 0.091 345.1)
-
Step 400
400
#E078B5
oklch(70.7% 0.147 345.3)
-
Step 500
500
#D450A2
oklch(63.1% 0.187 345.5)
-
Step 600
600
#BF2C8D
oklch(55.6% 0.204 345.4)
-
Step 700
700 (this color)
#AF2981
oklch(52.2% 0.189 345.5)
-
Step 800
800
#851B61
oklch(42.6% 0.157 345.5)
-
Step 900
900
#6C1F50
oklch(37.8% 0.122 345.4)
-
Step 950
950
#3F132F
oklch(26.9% 0.078 344.5)
#AF2981 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) | #3B5483 | 0.211 |
| Deuteranopia (no green cones) | #646A7E | 0.183 |
| Tritanopia (no blue cones) | #BB2652 | 0.079 |
| Achromatopsia (no color) | #626262 | 0.191 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF2981
#AF2981
oklch(52.2% 0.189 345.5)
- #007D5A
#007D5A
oklch(52.3% 0.109 165.3)
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 #AF2981, closest first.
No curated palette has a color within ΔE 0.04 of #AF2981.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.047
- Warm Purple #952E8F ΔE 0.058
- Red Violet #9E0168 ΔE 0.062
- Deep Magenta #A0025C ΔE 0.070
- Violet Red #A50055 ΔE 0.074
- Dark Fuchsia #9D0759 ΔE 0.076
- Light Eggplant #894585 ΔE 0.081
- Light Burgundy #A8415B ΔE 0.081
Use #AF2981 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.