#F2227F

Closest named color: Neon Pink (#F72585). oklch(63.1% 0.24 1.7), rgb(242, 34, 127).

Aa

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

About this color

#F2227F is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.240 and its hue 2°. Its hue sits on the warm side of the wheel. The nearest named color is Neon Pink (#F72585), ΔE 0.013 away. Black text reads best on it, at 5.31:1.

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.240)
Temperaturewarm
Nearest nameNeon Pink (#F72585)
Black text5.31:1
White text3.95:1

Values

HEX#F2227F
RGBrgb(242, 34, 127)
HSLhsl(333, 89%, 54%)
OKLCHoklch(63.1% 0.24 1.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 #F2227F 3.95:1 AA large text Lc -70.4 Content text, not long reading
Black text on #F2227F 5.31:1 AA Lc 39.2 Non-text elements, placeholder text
#F2227F text on white 3.95:1 AA large text Lc 64.9 Content text, not long reading
#F2227F text on black 5.31:1 AA Lc -36.8 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

    #FFF1F5

    oklch(97% 0.016 358)

  2. Step 100

    100

    #FFE1E8

    oklch(93.6% 0.034 2)

  3. Step 200

    200

    #FFC8D6

    oklch(88.5% 0.065 1.6)

  4. Step 300

    300

    #FFA0BB

    oklch(80.9% 0.117 1.6)

  5. Step 400

    400

    #FA6498

    oklch(70.6% 0.188 1.6)

  6. Step 500

    500 (this color)

    #F2227F

    oklch(63.1% 0.24 1.7)

  7. Step 600

    600

    #D1006A

    oklch(55.6% 0.225 1.6)

  8. Step 700

    700

    #B10059

    oklch(49.1% 0.199 1.5)

  9. Step 800

    800

    #920048

    oklch(42.6% 0.172 1.7)

  10. Step 900

    900

    #7B003C

    oklch(37.7% 0.152 1.4)

  11. Step 950

    950

    #4A0623

    oklch(27.1% 0.1 1.7)

Export this scale for Tailwind in the Tailwind colors tool

#F2227F 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)#5D67810.272
Deuteranopia (no green cones)#938E7A0.244
Tritanopia (no blue cones)#FF00500.067
Achromatopsia (no color)#8080800.242

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2227F

    #F2227F

    oklch(63.1% 0.24 1.7)

  • #009F8E

    #009F8E

    oklch(63% 0.113 181.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2227F

    #F2227F

    oklch(63.1% 0.24 1.7)

  • #D53BC9

    #D53BC9

    oklch(63.1% 0.24 331.4)

  • #F92B03

    #F92B03

    oklch(63.1% 0.24 31.7)

Open the analogous palette in the generator

Split complementary

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

  • #F2227F

    #F2227F

    oklch(63.1% 0.24 1.7)

  • #00A552

    #00A552

    oklch(63.2% 0.168 151.6)

  • #009AB0

    #009AB0

    oklch(63% 0.11 212.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2227F

    #F2227F

    oklch(63.1% 0.24 1.7)

  • #7B9700

    #7B9700

    oklch(63.2% 0.153 121.9)

  • #0092DB

    #0092DB

    oklch(63.2% 0.149 241.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2227F

    #F2227F

    oklch(63.1% 0.24 1.7)

  • #A68600

    #A68600

    oklch(63.2% 0.129 91.9)

  • #009F8E

    #009F8E

    oklch(63% 0.113 181.8)

  • #627AFF

    #627AFF

    oklch(63.1% 0.198 271.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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