#E227BC
Closest named color: Hot Magenta (#F504C9). oklch(63.1% 0.255 338.5), rgb(226, 39, 188).
Aa
Black text reads best on this color (5.25:1).
About this color
#E227BC is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.255 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Hot Magenta (#F504C9), ΔE 0.040 away. Black text reads best on it, at 5.25:1.
| Hue family | Pinks |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.255) |
| Temperature | warm |
| Nearest name | Hot Magenta (#F504C9) |
| Black text | 5.25:1 |
| White text | 3.99:1 |
Values
| HEX | #E227BC |
| RGB | rgb(226, 39, 188) |
| HSL | hsl(312, 76%, 52%) |
| OKLCH | oklch(63.1% 0.255 338.5) |
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 #E227BC | 3.99:1 | AA large text | Lc -71.0 | Content text, not long reading |
| Black text on #E227BC | 5.25:1 | AA | Lc 38.6 | Non-text elements, placeholder text |
| #E227BC text on white | 3.99:1 | AA large text | Lc 65.5 | Content text, not long reading |
| #E227BC text on black | 5.25:1 | AA | Lc -36.1 | 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
#FBE1F2
oklch(93.6% 0.036 338.6)
-
Step 200
200
#F9C8E9
oklch(88.5% 0.07 338.5)
-
Step 300
300
#F5A0DC
oklch(80.8% 0.125 338.3)
-
Step 400
400
#EC66CA
oklch(70.7% 0.199 338.5)
-
Step 500
500 (this color)
#E227BC
oklch(63.1% 0.255 338.5)
-
Step 600
600
#C400A2
oklch(55.6% 0.243 338.5)
-
Step 700
700
#A60088
oklch(49.1% 0.215 338.8)
-
Step 800
800
#890070
oklch(42.7% 0.187 338.7)
-
Step 900
900
#73005E
oklch(37.7% 0.165 338.5)
-
Step 950
950
#440737
oklch(26.9% 0.106 338.7)
#E227BC 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) | #346DC0 | 0.286 |
| Deuteranopia (no green cones) | #7689B8 | 0.242 |
| Tritanopia (no blue cones) | #EF3373 | 0.121 |
| Achromatopsia (no color) | #7F7F7F | 0.258 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E227BC
#E227BC
oklch(63.1% 0.255 338.5)
- #00A367
#00A367
oklch(63% 0.146 158.5)
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 #E227BC, closest first.
No curated palette has a color within ΔE 0.04 of #E227BC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hot Magenta #F504C9 ΔE 0.040
- Purpley Pink #C83CB9 ΔE 0.050
- Bright Pink #FE01B1 ΔE 0.056
- Pinky Purple #C94CBE ΔE 0.059
- Purple Pink #D725DE ΔE 0.059
- Pink Purple #EF1DE7 ΔE 0.067
- Shocking Pink #FE02A2 ΔE 0.068
- Bright Magenta #FF08E8 ΔE 0.082
Use #E227BC 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.