#EC1BA2
Closest named color: Shocking Pink (#FE02A2). oklch(63% 0.254 348.6), rgb(236, 27, 162).
Aa
Black text reads best on this color (5.24:1).
About this color
#EC1BA2 is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.254 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Shocking Pink (#FE02A2), ΔE 0.034 away. Black text reads best on it, at 5.24:1.
| Hue family | Reds |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.254) |
| Temperature | warm |
| Nearest name | Shocking Pink (#FE02A2) |
| Black text | 5.24:1 |
| White text | 4.00:1 |
Values
| HEX | #EC1BA2 |
| RGB | rgb(236, 27, 162) |
| HSL | hsl(321, 85%, 52%) |
| OKLCH | oklch(63% 0.254 348.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 #EC1BA2 | 4.00:1 | AA large text | Lc -70.7 | Content text, not long reading |
| Black text on #EC1BA2 | 5.24:1 | AA | Lc 38.9 | Non-text elements, placeholder text |
| #EC1BA2 text on white | 4.00:1 | AA large text | Lc 65.2 | Content text, not long reading |
| #EC1BA2 text on black | 5.24: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
#FFF1F7
oklch(97.1% 0.017 349.5)
-
Step 100
100
#FDE1EE
oklch(93.6% 0.035 348)
-
Step 200
200
#FDC7E1
oklch(88.5% 0.07 348.1)
-
Step 300
300
#FC9FCE
oklch(80.9% 0.124 348.6)
-
Step 400
400
#F562B5
oklch(70.6% 0.199 348.4)
-
Step 500
500 (this color)
#EC1BA2
oklch(63% 0.254 348.6)
-
Step 600
600
#CB0089
oklch(55.7% 0.233 348.8)
-
Step 700
700
#AB0074
oklch(49% 0.206 348.3)
-
Step 800
800
#8E005F
oklch(42.8% 0.179 348.6)
-
Step 900
900
#77004F
oklch(37.6% 0.158 348.5)
-
Step 950
950
#48052F
oklch(27.1% 0.106 348.5)
#EC1BA2 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) | #4869A5 | 0.289 |
| Deuteranopia (no green cones) | #858B9E | 0.249 |
| Tritanopia (no blue cones) | #FE0062 | 0.101 |
| Achromatopsia (no color) | #7F7F7F | 0.256 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EC1BA2
#EC1BA2
oklch(63% 0.254 348.6)
- #00A17B
#00A17B
oklch(63% 0.127 168.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 #EC1BA2, closest first.
No curated palette has a color within ΔE 0.04 of #EC1BA2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Shocking Pink #FE02A2 ΔE 0.034
- Bright Pink #FE01B1 ΔE 0.039
- Deep Pink #FF1493 ΔE 0.046
- Electric Pink #FF0490 ΔE 0.047
- Strong Pink #FF0789 ΔE 0.054
- Neon Pink #F72585 ΔE 0.055
- Hot Magenta #F504C9 ΔE 0.061
- Barbie Pink #FE46A5 ΔE 0.063
Use #EC1BA2 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.