#AF2A5A
Closest named color: Raspberry (#B00149). oklch(50.9% 0.172 4.2), rgb(175, 42, 90).
Aa
White text reads best on this color (6.36:1).
About this color
#AF2A5A is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.172 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.035 away. White text reads best on it, at 6.36:1.
| Hue family | Reds |
| Lightness | medium-dark (51%) |
| Chroma | vivid (0.172) |
| Temperature | warm |
| Nearest name | Raspberry (#B00149) |
| Black text | 3.30:1 |
| White text | 6.36:1 |
Values
| HEX | #AF2A5A |
| RGB | rgb(175, 42, 90) |
| HSL | hsl(338, 61%, 43%) |
| OKLCH | oklch(50.9% 0.172 4.2) |
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 #AF2A5A | 6.36:1 | AA | Lc -85.5 | Fine for body text |
| Black text on #AF2A5A | 3.30:1 | AA large text | Lc 23.7 | Dividers and decoration only |
| #AF2A5A text on white | 6.36:1 | AA | Lc 80.4 | Fine for body text |
| #AF2A5A text on black | 3.30:1 | AA large text | Lc -21.5 | 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
#FDF2F4
oklch(97% 0.012 4.7)
-
Step 100
100
#F9E4E8
oklch(93.7% 0.024 4.5)
-
Step 200
200
#F5CDD5
oklch(88.5% 0.046 4.6)
-
Step 300
300
#EFABBA
oklch(80.9% 0.082 4.5)
-
Step 400
400
#E47B97
oklch(70.7% 0.133 4)
-
Step 500
500
#D9547D
oklch(63.1% 0.17 4.2)
-
Step 600
600
#C43366
oklch(55.6% 0.184 4.4)
-
Step 700
700 (this color)
#AF2A5A
oklch(50.9% 0.172 4.2)
-
Step 800
800
#892046
oklch(42.7% 0.142 3.8)
-
Step 900
900
#6E213B
oklch(37.6% 0.111 3.4)
-
Step 950
950
#411522
oklch(27% 0.07 4.6)
#AF2A5A 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) | #4A4F5B | 0.193 |
| Deuteranopia (no green cones) | #6D6957 | 0.175 |
| Tritanopia (no blue cones) | #BF0A3F | 0.047 |
| Achromatopsia (no color) | #5F5F5F | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF2A5A
#AF2A5A
oklch(50.9% 0.172 4.2)
- #00766C
#00766C
oklch(50.9% 0.09 184.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 #AF2A5A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Raspberry #B00149 ΔE 0.035
- Light Burgundy #A8415B ΔE 0.038
- Violet Red #A50055 ΔE 0.047
- Rouge #AB1239 ΔE 0.048
- Rose Red #BE013C ΔE 0.050
- Dark Rose #B5485D ΔE 0.056
- Light Maroon #A24857 ΔE 0.057
- Deep Magenta #A0025C ΔE 0.057
Use #AF2A5A 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.