#EF1797
Closest named color: Shocking Pink (#FE02A2). oklch(63% 0.252 352.6), rgb(239, 23, 151).
Aa
Black text reads best on this color (5.23:1).
About this color
#EF1797 is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.252 and its hue 353°. Its hue sits on the warm side of the wheel. The nearest named color is Shocking Pink (#FE02A2), ΔE 0.032 away. Black text reads best on it, at 5.23:1.
| Hue family | Reds |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.252) |
| Temperature | warm |
| Nearest name | Shocking Pink (#FE02A2) |
| Black text | 5.23:1 |
| White text | 4.00:1 |
Values
| HEX | #EF1797 |
| RGB | rgb(239, 23, 151) |
| HSL | hsl(324, 87%, 51%) |
| OKLCH | oklch(63% 0.252 352.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 #EF1797 | 4.00:1 | AA large text | Lc -70.6 | Content text, not long reading |
| Black text on #EF1797 | 5.23:1 | AA | Lc 38.9 | Non-text elements, placeholder text |
| #EF1797 text on white | 4.00:1 | AA large text | Lc 65.1 | Content text, not long reading |
| #EF1797 text on black | 5.23: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
#FFF1F6
oklch(97.1% 0.016 353.6)
-
Step 100
100
#FEE1EC
oklch(93.7% 0.035 352.9)
-
Step 200
200
#FEC7DD
oklch(88.4% 0.068 352.7)
-
Step 300
300
#FE9FC8
oklch(81% 0.123 352.8)
-
Step 400
400
#F862AC
oklch(70.8% 0.197 352.7)
-
Step 500
500 (this color)
#EF1797
oklch(63% 0.252 352.6)
-
Step 600
600
#CD0080
oklch(55.7% 0.23 352.5)
-
Step 700
700
#AD006B
oklch(49% 0.203 352.6)
-
Step 800
800
#8F0058
oklch(42.7% 0.177 352.4)
-
Step 900
900
#790049
oklch(37.8% 0.156 352.8)
-
Step 950
950
#49052B
oklch(27.1% 0.104 352.9)
#EF1797 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) | #4E679A | 0.288 |
| Deuteranopia (no green cones) | #8A8C93 | 0.251 |
| Tritanopia (no blue cones) | #FF005B | 0.093 |
| Achromatopsia (no color) | #7F7F7F | 0.254 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EF1797
#EF1797
oklch(63% 0.252 352.6)
- #00A082
#00A082
oklch(62.9% 0.121 173.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 #EF1797, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Shocking Pink #FE02A2 ΔE 0.032
- Electric Pink #FF0490 ΔE 0.033
- Deep Pink #FF1493 ΔE 0.033
- Neon Pink #F72585 ΔE 0.038
- Strong Pink #FF0789 ΔE 0.039
- Bright Pink #FE01B1 ΔE 0.047
- Barbie Pink #FE46A5 ΔE 0.060
- Rose #FF006E ΔE 0.069
Use #EF1797 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.