#AF1B4A

Closest named color: Raspberry (#B00149). oklch(49.4% 0.181 9.7), rgb(175, 27, 74).

Aa

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

About this color

#AF1B4A is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.181 and its hue 10°. 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.82:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.181)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.07:1
White text6.82:1

Values

HEX#AF1B4A
RGBrgb(175, 27, 74)
HSLhsl(341, 73%, 40%)
OKLCHoklch(49.4% 0.181 9.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 #AF1B4A 6.82:1 AA Lc -86.9 Fine for body text
Black text on #AF1B4A 3.07:1 AA large text Lc 22.2 Dividers and decoration only
#AF1B4A text on white 6.82:1 AA Lc 81.8 Fine for body text
#AF1B4A text on black 3.07:1 AA large text Lc -20.1 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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E6

    oklch(93.5% 0.026 8.6)

  3. Step 200

    200

    #F7CDD2

    oklch(88.6% 0.048 10)

  4. Step 300

    300

    #F3A9B4

    oklch(80.9% 0.088 9.4)

  5. Step 400

    400

    #E9788D

    oklch(70.7% 0.14 9.6)

  6. Step 500

    500

    #DF4F71

    oklch(63.1% 0.18 9.7)

  7. Step 600

    600

    #CA2A59

    oklch(55.6% 0.195 9.8)

  8. Step 700

    700 (this color)

    #AF1B4A

    oklch(49.4% 0.181 9.7)

  9. Step 800

    800

    #8D1A3C

    oklch(42.6% 0.15 9.7)

  10. Step 900

    900

    #721E33

    oklch(37.7% 0.117 10.1)

  11. Step 950

    950

    #43131E

    oklch(26.9% 0.075 9.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF1B4A 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)#47484B0.204
Deuteranopia (no green cones)#6C65460.185
Tritanopia (no blue cones)#C000310.045
Achromatopsia (no color)#5B5B5B0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1B4A

    #AF1B4A

    oklch(49.4% 0.181 9.7)

  • #00716C

    #00716C

    oklch(49.5% 0.086 189.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1B4A

    #AF1B4A

    oklch(49.4% 0.181 9.7)

  • #9E2781

    #9E2781

    oklch(49.3% 0.181 339.7)

  • #A63700

    #A63700

    oklch(49.3% 0.155 39.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF1B4A

    #AF1B4A

    oklch(49.4% 0.181 9.7)

  • #00744A

    #00744A

    oklch(49.3% 0.112 159.6)

  • #006D84

    #006D84

    oklch(49.4% 0.089 219.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1B4A

    #AF1B4A

    oklch(49.4% 0.181 9.7)

  • #486F00

    #486F00

    oklch(49.3% 0.132 129.7)

  • #0064AC

    #0064AC

    oklch(49.5% 0.138 249.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1B4A

    #AF1B4A

    oklch(49.4% 0.181 9.7)

  • #706200

    #706200

    oklch(49.4% 0.103 99.5)

  • #00716C

    #00716C

    oklch(49.5% 0.086 189.4)

  • #524CC4

    #524CC4

    oklch(49.4% 0.181 279.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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