#E31BC5
Closest named color: Hot Magenta (#F504C9). oklch(63.2% 0.268 336.1), rgb(227, 27, 197).
Aa
Black text reads best on this color (5.22:1).
About this color
#E31BC5 is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.268 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Hot Magenta (#F504C9), ΔE 0.034 away. Black text reads best on it, at 5.22:1.
| Hue family | Pinks |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.268) |
| Temperature | warm |
| Nearest name | Hot Magenta (#F504C9) |
| Black text | 5.22:1 |
| White text | 4.01:1 |
Values
| HEX | #E31BC5 |
| RGB | rgb(227, 27, 197) |
| HSL | hsl(309, 79%, 50%) |
| OKLCH | oklch(63.2% 0.268 336.1) |
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 #E31BC5 | 4.01:1 | AA large text | Lc -70.9 | Content text, not long reading |
| Black text on #E31BC5 | 5.22:1 | AA | Lc 38.7 | Non-text elements, placeholder text |
| #E31BC5 text on white | 4.01:1 | AA large text | Lc 65.4 | Content text, not long reading |
| #E31BC5 text on black | 5.22:1 | AA | Lc -36.3 | 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
#FEF1FA
oklch(97.1% 0.018 336.5)
-
Step 100
100
#FBE1F4
oklch(93.6% 0.038 335.3)
-
Step 200
200
#F9C7EC
oklch(88.4% 0.074 335.6)
-
Step 300
300
#F69FE1
oklch(80.9% 0.132 336)
-
Step 400
400
#ED63D1
oklch(70.8% 0.209 336.2)
-
Step 500
500 (this color)
#E31BC5
oklch(63.2% 0.268 336.1)
-
Step 600
600
#C200A8
oklch(55.6% 0.246 336)
-
Step 700
700
#A4008E
oklch(49.1% 0.217 335.9)
-
Step 800
800
#880075
oklch(42.8% 0.189 336.1)
-
Step 900
900
#720062
oklch(37.7% 0.167 336)
-
Step 950
950
#44053A
oklch(26.9% 0.111 336)
#E31BC5 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) | #206DC9 | 0.303 |
| Deuteranopia (no green cones) | #7189C1 | 0.252 |
| Tritanopia (no blue cones) | #EF3276 | 0.133 |
| Achromatopsia (no color) | #7F7F7F | 0.271 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E31BC5
#E31BC5
oklch(63.2% 0.268 336.1)
- #00A461
#00A461
oklch(63.2% 0.153 156.1)
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 #E31BC5, closest first.
No curated palette has a color within ΔE 0.04 of #E31BC5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Magenta #F504C9 ΔE 0.034
- Purple Pink #D725DE ΔE 0.046
- Pink Purple #EF1DE7 ΔE 0.054
- Purpley Pink #C83CB9 ΔE 0.057
- Bright Pink #FE01B1 ΔE 0.062
- Pinky Purple #C94CBE ΔE 0.067
- Bright Magenta #FF08E8 ΔE 0.071
- Shocking Pink #FE02A2 ΔE 0.078
Use #E31BC5 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.