#EF1798

Closest named color: Shocking Pink (#FE02A2). oklch(63% 0.253 352.3), rgb(239, 23, 152).

Aa

Black text reads best on this color (5.24:1).

About this color

#EF1798 is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.253 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Shocking Pink (#FE02A2), ΔE 0.031 away. Black text reads best on it, at 5.24:1.

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.253)
Temperaturewarm
Nearest nameShocking Pink (#FE02A2)
Black text5.24:1
White text4.00:1

Values

HEX#EF1798
RGBrgb(239, 23, 152)
HSLhsl(324, 87%, 51%)
OKLCHoklch(63% 0.253 352.3)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #EF1798 4.00:1 AA large text Lc -70.6 Content text, not long reading
Black text on #EF1798 5.24:1 AA Lc 39.0 Non-text elements, placeholder text
#EF1798 text on white 4.00:1 AA large text Lc 65.1 Content text, not long reading
#EF1798 text on black 5.24:1 AA Lc -36.6 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.

  1. Step 50

    50

    #FFF1F6

    oklch(97.1% 0.016 353.6)

  2. Step 100

    100

    #FEE1EC

    oklch(93.7% 0.035 352.9)

  3. Step 200

    200

    #FEC7DE

    oklch(88.5% 0.069 351.7)

  4. Step 300

    300

    #FE9EC8

    oklch(80.8% 0.124 352.5)

  5. Step 400

    400

    #F862AD

    oklch(70.8% 0.197 352.3)

  6. Step 500

    500 (this color)

    #EF1798

    oklch(63% 0.253 352.3)

  7. Step 600

    600

    #CD0080

    oklch(55.7% 0.23 352.5)

  8. Step 700

    700

    #AD006C

    oklch(49.1% 0.203 352.2)

  9. Step 800

    800

    #8F0058

    oklch(42.7% 0.177 352.4)

  10. Step 900

    900

    #79004A

    oklch(37.8% 0.157 352.2)

  11. Step 950

    950

    #49052B

    oklch(27.1% 0.104 352.9)

Export this scale for Tailwind in the Tailwind colors tool

#EF1798 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#4E679B0.288
Deuteranopia (no green cones)#8A8C940.251
Tritanopia (no blue cones)#FF005B0.095
Achromatopsia (no color)#7F7F7F0.255

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #EF1798

    #EF1798

    oklch(63% 0.253 352.3)

  • #00A081

    #00A081

    oklch(62.9% 0.121 172.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EF1798

    #EF1798

    oklch(63% 0.253 352.3)

  • #CB3BE0

    #CB3BE0

    oklch(63% 0.253 322.2)

  • #FE053A

    #FE053A

    oklch(63% 0.253 22.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #EF1798

    #EF1798

    oklch(63% 0.253 352.3)

  • #08A600

    #08A600

    oklch(62.9% 0.213 142.3)

  • #009CA5

    #009CA5

    oklch(63.1% 0.107 202)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EF1798

    #EF1798

    oklch(63% 0.253 352.3)

  • #8C9100

    #8C9100

    oklch(63.1% 0.14 112.2)

  • #0095CA

    #0095CA

    oklch(63% 0.13 232.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EF1798

    #EF1798

    oklch(63% 0.253 352.3)

  • #B08000

    #B08000

    oklch(63.1% 0.13 82.1)

  • #00A081

    #00A081

    oklch(62.9% 0.121 172.5)

  • #4281FF

    #4281FF

    oklch(63% 0.199 262.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #EF1798, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #EF1798 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.