#AF174A
Closest named color: Raspberry (#B00149). oklch(49.1% 0.184 9.3), rgb(175, 23, 74).
Aa
White text reads best on this color (6.89:1).
About this color
#AF174A is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.184 and its hue 9°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.012 away. White text reads best on it, at 6.89:1.
| Hue family | Reds |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.184) |
| Temperature | warm |
| Nearest name | Raspberry (#B00149) |
| Black text | 3.04:1 |
| White text | 6.89:1 |
Values
| HEX | #AF174A |
| RGB | rgb(175, 23, 74) |
| HSL | hsl(340, 77%, 39%) |
| OKLCH | oklch(49.1% 0.184 9.3) |
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 #AF174A | 6.89:1 | AA | Lc -87.1 | Fine for body text |
| Black text on #AF174A | 3.04:1 | AA large text | Lc 22.0 | Dividers and decoration only |
| #AF174A text on white | 6.89:1 | AA | Lc 82.0 | Fine for body text |
| #AF174A text on black | 3.04:1 | AA large text | Lc -19.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
#FDF2F4
oklch(97% 0.012 4.7)
-
Step 100
100
#FAE3E6
oklch(93.5% 0.026 8.6)
-
Step 200
200
#F8CCD2
oklch(88.5% 0.05 8.9)
-
Step 300
300
#F4A9B4
oklch(81% 0.089 9.6)
-
Step 400
400
#EA778D
oklch(70.6% 0.143 9.4)
-
Step 500
500
#E04E72
oklch(63.2% 0.182 9.1)
-
Step 600
600
#CB285A
oklch(55.6% 0.198 9.3)
-
Step 700
700 (this color)
#AF174A
oklch(49.1% 0.184 9.3)
-
Step 800
800
#8E183D
oklch(42.7% 0.153 9)
-
Step 900
900
#721D34
oklch(37.6% 0.119 9)
-
Step 950
950
#43131E
oklch(26.9% 0.075 9.7)
#AF174A 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) | #45474B | 0.208 |
| Deuteranopia (no green cones) | #6C6546 | 0.188 |
| Tritanopia (no blue cones) | #C0002F | 0.048 |
| Achromatopsia (no color) | #5A5A5A | 0.185 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF174A
#AF174A
oklch(49.1% 0.184 9.3)
- #00706B
#00706B
oklch(49.2% 0.085 189.4)
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 #AF174A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Raspberry #B00149 ΔE 0.012
- Rouge #AB1239 ΔE 0.025
- Rose Red #BE013C ΔE 0.035
- Violet Red #A50055 ΔE 0.038
- Cranberry #9E003A ΔE 0.046
- Lipstick Red #C0022F ΔE 0.048
- Berry #990F4B ΔE 0.050
- Deep Magenta #A0025C ΔE 0.053
Use #AF174A 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.