#E42AB7
Closest named color: Hot Magenta (#F504C9). oklch(63.3% 0.251 340.6), rgb(228, 42, 183).
Aa
Black text reads best on this color (5.31:1).
About this color
#E42AB7 is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.251 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Hot Magenta (#F504C9), ΔE 0.043 away. Black text reads best on it, at 5.31:1.
| Hue family | Pinks |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.251) |
| Temperature | warm |
| Nearest name | Hot Magenta (#F504C9) |
| Black text | 5.31:1 |
| White text | 3.95:1 |
Values
| HEX | #E42AB7 |
| RGB | rgb(228, 42, 183) |
| HSL | hsl(315, 78%, 53%) |
| OKLCH | oklch(63.3% 0.251 340.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 #E42AB7 | 3.95:1 | AA large text | Lc -70.7 | Content text, not long reading |
| Black text on #E42AB7 | 5.31:1 | AA | Lc 38.9 | Non-text elements, placeholder text |
| #E42AB7 text on white | 3.95:1 | AA large text | Lc 65.2 | Content text, not long reading |
| #E42AB7 text on black | 5.31:1 | AA | Lc -36.5 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#FEF1F9
oklch(97.1% 0.017 339.9)
-
Step 100
100
#FBE1F1
oklch(93.5% 0.035 340.3)
-
Step 200
200
#F9C8E7
oklch(88.5% 0.068 340.3)
-
Step 300
300
#F6A1D9
oklch(81% 0.122 340.5)
-
Step 400
400
#ED66C5
oklch(70.6% 0.197 340.6)
-
Step 500
500 (this color)
#E42AB7
oklch(63.3% 0.251 340.6)
-
Step 600
600
#C5009D
oklch(55.5% 0.241 340.4)
-
Step 700
700
#A70084
oklch(49.1% 0.213 340.6)
-
Step 800
800
#8A006D
oklch(42.7% 0.185 340.4)
-
Step 900
900
#74005B
oklch(37.7% 0.163 340.6)
-
Step 950
950
#450835
oklch(27.1% 0.104 341.3)
#E42AB7 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) | #3C6DBB | 0.282 |
| Deuteranopia (no green cones) | #7B8AB3 | 0.239 |
| Tritanopia (no blue cones) | #F23171 | 0.115 |
| Achromatopsia (no color) | #808080 | 0.253 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E42AB7
#E42AB7
oklch(63.3% 0.251 340.6)
- #00A46C
#00A46C
oklch(63.4% 0.143 160.2)
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 #E42AB7, closest first.
No curated palette has a color within ΔE 0.04 of #E42AB7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Magenta #F504C9 ΔE 0.043
- Bright Pink #FE01B1 ΔE 0.050
- Purpley Pink #C83CB9 ΔE 0.053
- Shocking Pink #FE02A2 ΔE 0.059
- Pinky Purple #C94CBE ΔE 0.060
- Purple Pink #D725DE ΔE 0.069
- Pink Purple #EF1DE7 ΔE 0.074
- Deep Pink #FF1493 ΔE 0.077
Use #E42AB7 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.