#F271A1

Closest named color: Rosy Pink (#F6688E). oklch(71.4% 0.165 358.7), rgb(242, 113, 161).

Aa

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

About this color

#F271A1 is a medium-light, vivid pink. In OKLCH its lightness is 71%, its chroma 0.165 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Rosy Pink (#F6688E), ΔE 0.027 away. Black text reads best on it, at 7.65:1.

Hue familyPinks
Lightnessmedium-light (71%)
Chromavivid (0.165)
Temperaturewarm
Nearest nameRosy Pink (#F6688E)
Black text7.65:1
White text2.74:1

Values

HEX#F271A1
RGBrgb(242, 113, 161)
HSLhsl(338, 83%, 70%)
OKLCHoklch(71.4% 0.165 358.7)

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 #F271A1 2.74:1 Fails Lc -57.7 Large or bold text, headings
Black text on #F271A1 7.65:1 AAA Lc 51.5 Large or bold text, headings
#F271A1 text on white 2.74:1 Fails Lc 52.5 Large or bold text, headings
#F271A1 text on black 7.65:1 AAA Lc -49.4 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FCE2E9

    oklch(93.6% 0.03 359.5)

  3. Step 200

    200

    #FACAD8

    oklch(88.5% 0.057 359)

  4. Step 300

    300

    #F8A4BF

    oklch(80.9% 0.104 358.9)

  5. Step 400

    400 (this color)

    #F271A1

    oklch(71.4% 0.165 358.7)

  6. Step 500

    500

    #E63E87

    oklch(63.2% 0.211 358.9)

  7. Step 600

    600

    #D00071

    oklch(55.7% 0.226 358.8)

  8. Step 700

    700

    #B0005F

    oklch(49.1% 0.2 358.6)

  9. Step 800

    800

    #91004D

    oklch(42.6% 0.173 358.7)

  10. Step 900

    900

    #761240

    oklch(37.8% 0.138 359.1)

  11. Step 950

    950

    #450E26

    oklch(26.9% 0.087 358.1)

Export this scale for Tailwind in the Tailwind colors tool

#F271A1 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)#858DA20.183
Deuteranopia (no green cones)#A7A59E0.167
Tritanopia (no blue cones)#FF67830.045
Achromatopsia (no color)#9C9C9C0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #F271A1

    #F271A1

    oklch(71.4% 0.165 358.7)

  • #00BDA4

    #00BDA4

    oklch(71.5% 0.131 178.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F271A1

    #F271A1

    oklch(71.4% 0.165 358.7)

  • #DA79D5

    #DA79D5

    oklch(71.4% 0.166 329)

  • #F97465

    #F97465

    oklch(71.4% 0.166 28.4)

Open the analogous palette in the generator

Split complementary

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

  • #F271A1

    #F271A1

    oklch(71.4% 0.165 358.7)

  • #48BE65

    #48BE65

    oklch(71.4% 0.165 148.6)

  • #00B7CC

    #00B7CC

    oklch(71.4% 0.123 209.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F271A1

    #F271A1

    oklch(71.4% 0.165 358.7)

  • #99B00B

    #99B00B

    oklch(71.4% 0.165 118.8)

  • #00AEFB

    #00AEFB

    oklch(71.4% 0.161 238.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F271A1

    #F271A1

    oklch(71.4% 0.165 358.7)

  • #C89C00

    #C89C00

    oklch(71.4% 0.146 88.3)

  • #00BDA4

    #00BDA4

    oklch(71.5% 0.131 178.7)

  • #7D9DFF

    #7D9DFF

    oklch(71.5% 0.148 268.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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