#AF0F5F
Closest named color: Violet Red (#A50055). oklch(49.4% 0.193 359), rgb(175, 15, 95).
Aa
White text reads best on this color (6.87:1).
About this color
#AF0F5F is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.193 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.027 away. White text reads best on it, at 6.87:1.
| Hue family | Reds |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.193) |
| Temperature | warm |
| Nearest name | Violet Red (#A50055) |
| Black text | 3.05:1 |
| White text | 6.87:1 |
Values
| HEX | #AF0F5F |
| RGB | rgb(175, 15, 95) |
| HSL | hsl(330, 84%, 37%) |
| OKLCH | oklch(49.4% 0.193 359) |
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 #AF0F5F | 6.87:1 | AA | Lc -86.8 | Fine for body text |
| Black text on #AF0F5F | 3.05:1 | AA large text | Lc 22.3 | Dividers and decoration only |
| #AF0F5F text on white | 6.87:1 | AA | Lc 81.7 | Fine for body text |
| #AF0F5F text on black | 3.05:1 | AA large text | Lc -20.2 | 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
#FAE3E9
oklch(93.6% 0.026 359.9)
-
Step 200
200
#F7CCD8
oklch(88.6% 0.051 359.6)
-
Step 300
300
#F3A7BF
oklch(80.8% 0.094 358.9)
-
Step 400
400
#E9759E
oklch(70.7% 0.149 359.2)
-
Step 500
500
#DF4A87
oklch(63.2% 0.192 359)
-
Step 600
600
#CA2070
oklch(55.6% 0.208 359.2)
-
Step 700
700 (this color)
#AF0F5F
oklch(49.4% 0.193 359)
-
Step 800
800
#8D134D
oklch(42.7% 0.16 358.9)
-
Step 900
900
#721B40
oklch(37.8% 0.125 359.2)
-
Step 950
950
#431225
oklch(27% 0.078 359.8)
#AF0F5F 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) | #3D4861 | 0.221 |
| Deuteranopia (no green cones) | #67645C | 0.194 |
| Tritanopia (no blue cones) | #BE0038 | 0.065 |
| Achromatopsia (no color) | #5A5A5A | 0.195 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF0F5F
#AF0F5F
oklch(49.4% 0.193 359)
- #007262
#007262
oklch(49.4% 0.091 178.5)
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 #AF0F5F, closest first.
No curated palette has a color within ΔE 0.04 of #AF0F5F.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet Red #A50055 ΔE 0.027
- Raspberry #B00149 ΔE 0.033
- Deep Magenta #A0025C ΔE 0.035
- Dark Fuchsia #9D0759 ΔE 0.041
- Red Violet #9E0168 ΔE 0.045
- Berry #990F4B ΔE 0.054
- Rouge #AB1239 ΔE 0.058
- Purple Red #990147 ΔE 0.059
Use #AF0F5F 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.