#AF154B

Closest named color: Raspberry (#B00149). oklch(49.1% 0.185 8.6), rgb(175, 21, 75).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.185)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.03:1
White text6.92:1

Values

HEX#AF154B
RGBrgb(175, 21, 75)
HSLhsl(339, 79%, 38%)
OKLCHoklch(49.1% 0.185 8.6)

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 #AF154B 6.92:1 AA Lc -87.2 Fine for body text
Black text on #AF154B 3.03:1 AA large text Lc 22.0 Dividers and decoration only
#AF154B text on white 6.92:1 AA Lc 82.1 Fine for body text
#AF154B text on black 3.03:1 AA large text Lc -19.8 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

    #F8CCD2

    oklch(88.5% 0.05 8.9)

  4. Step 300

    300

    #F4A9B5

    oklch(81% 0.089 8.7)

  5. Step 400

    400

    #EA778E

    oklch(70.7% 0.143 8.8)

  6. Step 500

    500

    #E04D73

    oklch(63.1% 0.184 8.5)

  7. Step 600

    600

    #CB275B

    oklch(55.6% 0.199 8.8)

  8. Step 700

    700 (this color)

    #AF154B

    oklch(49.1% 0.185 8.6)

  9. Step 800

    800

    #8E183E

    oklch(42.7% 0.153 8.5)

  10. Step 900

    900

    #721D35

    oklch(37.7% 0.119 8.2)

  11. Step 950

    950

    #43131F

    oklch(27% 0.075 8.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF154B 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)#45464C0.208
Deuteranopia (no green cones)#6B64470.189
Tritanopia (no blue cones)#C0002F0.049
Achromatopsia (no color)#5A5A5A0.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF154B

    #AF154B

    oklch(49.1% 0.185 8.6)

  • #00706A

    #00706A

    oklch(49.1% 0.085 188.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF154B

    #AF154B

    oklch(49.1% 0.185 8.6)

  • #9E2483

    #9E2483

    oklch(49.1% 0.185 338.7)

  • #A73400

    #A73400

    oklch(49.2% 0.159 38.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF154B

    #AF154B

    oklch(49.1% 0.185 8.6)

  • #007348

    #007348

    oklch(49% 0.113 158.9)

  • #006C82

    #006C82

    oklch(49.1% 0.088 218.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF154B

    #AF154B

    oklch(49.1% 0.185 8.6)

  • #4A6E00

    #4A6E00

    oklch(49.2% 0.13 128.6)

  • #0063A8

    #0063A8

    oklch(49% 0.134 248.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF154B

    #AF154B

    oklch(49.1% 0.185 8.6)

  • #706100

    #706100

    oklch(49.2% 0.102 98.7)

  • #00706A

    #00706A

    oklch(49.1% 0.085 188.3)

  • #4F4BC6

    #4F4BC6

    oklch(49.1% 0.186 278.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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