#AF1A48

Closest named color: Raspberry (#B00149). oklch(49.2% 0.182 10.5), rgb(175, 26, 72).

Aa

White text reads best on this color (6.85:1).

About this color

#AF1A48 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.182 and its hue 11°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.016 away. White text reads best on it, at 6.85:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.182)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.06:1
White text6.85:1

Values

HEX#AF1A48
RGBrgb(175, 26, 72)
HSLhsl(341, 74%, 39%)
OKLCHoklch(49.2% 0.182 10.5)

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 #AF1A48 6.85:1 AA Lc -87.0 Fine for body text
Black text on #AF1A48 3.06:1 AA large text Lc 22.1 Dividers and decoration only
#AF1A48 text on white 6.85:1 AA Lc 81.9 Fine for body text
#AF1A48 text on black 3.06:1 AA large text Lc -20.0 Dividers and decoration only

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

  1. Step 50

    50

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FAE3E6

    oklch(93.5% 0.026 8.6)

  3. Step 200

    200

    #F7CDD1

    oklch(88.5% 0.048 11.6)

  4. Step 300

    300

    #F3A9B3

    oklch(80.8% 0.088 10.3)

  5. Step 400

    400

    #E9788C

    oklch(70.6% 0.14 10.2)

  6. Step 500

    500

    #DF4F6F

    oklch(63% 0.18 10.5)

  7. Step 600

    600

    #CA2A58

    oklch(55.5% 0.195 10.3)

  8. Step 700

    700 (this color)

    #AF1A48

    oklch(49.2% 0.182 10.5)

  9. Step 800

    800

    #8E1A3B

    oklch(42.8% 0.151 10.5)

  10. Step 900

    900

    #721E32

    oklch(37.7% 0.117 10.8)

  11. Step 950

    950

    #43131E

    oklch(26.9% 0.075 9.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF1A48 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)#4747490.204
Deuteranopia (no green cones)#6D65440.185
Tritanopia (no blue cones)#C0002F0.045
Achromatopsia (no color)#5A5A5A0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1A48

    #AF1A48

    oklch(49.2% 0.182 10.5)

  • #00706C

    #00706C

    oklch(49.2% 0.085 190.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1A48

    #AF1A48

    oklch(49.2% 0.182 10.5)

  • #9F2680

    #9F2680

    oklch(49.3% 0.182 340.5)

  • #A53800

    #A53800

    oklch(49.3% 0.154 40.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF1A48

    #AF1A48

    oklch(49.2% 0.182 10.5)

  • #00744B

    #00744B

    oklch(49.3% 0.111 160.2)

  • #006C85

    #006C85

    oklch(49.2% 0.09 221.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1A48

    #AF1A48

    oklch(49.2% 0.182 10.5)

  • #466F00

    #466F00

    oklch(49.2% 0.133 130.4)

  • #0063AD

    #0063AD

    oklch(49.3% 0.141 250.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1A48

    #AF1A48

    oklch(49.2% 0.182 10.5)

  • #6F6200

    #6F6200

    oklch(49.3% 0.103 100.3)

  • #00706C

    #00706C

    oklch(49.2% 0.085 190.4)

  • #534BC4

    #534BC4

    oklch(49.3% 0.182 280.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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