#AF1F64
Closest named color: Violet Red (#A50055). oklch(50.4% 0.185 357.9), rgb(175, 31, 100).
Aa
White text reads best on this color (6.55:1).
About this color
#AF1F64 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.185 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.038 away. White text reads best on it, at 6.55:1.
| Hue family | Reds |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.185) |
| Temperature | warm |
| Nearest name | Violet Red (#A50055) |
| Black text | 3.20:1 |
| White text | 6.55:1 |
Values
| HEX | #AF1F64 |
| RGB | rgb(175, 31, 100) |
| HSL | hsl(331, 70%, 40%) |
| OKLCH | oklch(50.4% 0.185 357.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 #AF1F64 | 6.55:1 | AA | Lc -86.1 | Fine for body text |
| Black text on #AF1F64 | 3.20:1 | AA large text | Lc 23.1 | Dividers and decoration only |
| #AF1F64 text on white | 6.55:1 | AA | Lc 80.9 | Fine for body text |
| #AF1F64 text on black | 3.20:1 | AA large text | Lc -20.9 | 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
#FDF2F5
oklch(97.1% 0.012 358.8)
-
Step 100
100
#F9E3EA
oklch(93.6% 0.026 356.3)
-
Step 200
200
#F6CCD9
oklch(88.5% 0.05 357.6)
-
Step 300
300
#F1A9C0
oklch(81% 0.089 358.5)
-
Step 400
400
#E677A0
oklch(70.7% 0.144 358)
-
Step 500
500
#DB4E89
oklch(63.1% 0.184 357.9)
-
Step 600
600
#C62A73
oklch(55.6% 0.198 357.9)
-
Step 700
700 (this color)
#AF1F64
oklch(50.4% 0.185 357.9)
-
Step 800
800
#8B1A4F
oklch(42.8% 0.153 357.9)
-
Step 900
900
#701E41
oklch(37.8% 0.119 358.4)
-
Step 950
950
#421326
oklch(27% 0.076 358.4)
#AF1F64 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) | #414C66 | 0.210 |
| Deuteranopia (no green cones) | #696761 | 0.186 |
| Tritanopia (no blue cones) | #BE003F | 0.060 |
| Achromatopsia (no color) | #5D5D5D | 0.187 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF1F64
#AF1F64
oklch(50.4% 0.185 357.9)
- #007564
#007564
oklch(50.3% 0.093 177.9)
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 #AF1F64, closest first.
No curated palette has a color within ΔE 0.04 of #AF1F64.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet Red #A50055 ΔE 0.038
- Raspberry #B00149 ΔE 0.040
- Deep Magenta #A0025C ΔE 0.043
- Dark Fuchsia #9D0759 ΔE 0.048
- Red Violet #9E0168 ΔE 0.051
- Light Burgundy #A8415B ΔE 0.058
- Berry #990F4B ΔE 0.061
- Rouge #AB1239 ΔE 0.062
Use #AF1F64 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.