#AB307F
Closest named color: Warm Purple (#952E8F). oklch(52.1% 0.178 345.6), rgb(171, 48, 127).
Aa
White text reads best on this color (6.06:1).
About this color
#AB307F is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.178 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.055 away. White text reads best on it, at 6.06:1.
| Hue family | Reds |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.178) |
| Temperature | warm |
| Nearest name | Warm Purple (#952E8F) |
| Black text | 3.46:1 |
| White text | 6.06:1 |
Values
| HEX | #AB307F |
| RGB | rgb(171, 48, 127) |
| HSL | hsl(321, 56%, 43%) |
| OKLCH | oklch(52.1% 0.178 345.6) |
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 #AB307F | 6.06:1 | AA | Lc -84.5 | Fine for body text |
| Black text on #AB307F | 3.46:1 | AA large text | Lc 24.8 | Dividers and decoration only |
| #AB307F text on white | 6.06:1 | AA | Lc 79.2 | Fine for body text |
| #AB307F text on black | 3.46:1 | AA large text | Lc -22.6 | 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
#F7E4ED
oklch(93.7% 0.024 347.2)
-
Step 200
200
#F2CDE0
oklch(88.5% 0.048 345.8)
-
Step 300
300
#EAABCD
oklch(81% 0.085 345.6)
-
Step 400
400
#DC7BB3
oklch(70.6% 0.137 345.5)
-
Step 500
500
#D055A0
oklch(63.1% 0.176 345.7)
-
Step 600
600
#BB348B
oklch(55.5% 0.191 345.6)
-
Step 700
700 (this color)
#AB307F
oklch(52.1% 0.178 345.6)
-
Step 800
800
#832260
oklch(42.8% 0.147 345.8)
-
Step 900
900
#69224F
oklch(37.6% 0.115 345)
-
Step 950
950
#3E152E
oklch(27% 0.073 345.5)
#AB307F 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) | #3F5581 | 0.196 |
| Deuteranopia (no green cones) | #646A7C | 0.172 |
| Tritanopia (no blue cones) | #B72E53 | 0.074 |
| Achromatopsia (no color) | #626262 | 0.179 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB307F
#AB307F
oklch(52.1% 0.178 345.6)
- #007C5A
#007C5A
oklch(52% 0.108 165.8)
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 #AB307F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Purple #952E8F ΔE 0.055
- Medium Violet Red #C71585 ΔE 0.057
- Red Violet #9E0168 ΔE 0.062
- Deep Magenta #A0025C ΔE 0.069
- Light Eggplant #894585 ΔE 0.070
- Light Burgundy #A8415B ΔE 0.072
- Violet Red #A50055 ΔE 0.072
- Dark Fuchsia #9D0759 ΔE 0.074
Use #AB307F 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.