#AF245C

Closest named color: Raspberry (#B00149). oklch(50.5% 0.178 2.3), rgb(175, 36, 92).

Aa

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

About this color

#AF245C is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.178 and its hue 2°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.032 away. White text reads best on it, at 6.50:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.22:1
White text6.50:1

Values

HEX#AF245C
RGBrgb(175, 36, 92)
HSLhsl(336, 66%, 41%)
OKLCHoklch(50.5% 0.178 2.3)

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 #AF245C 6.50:1 AA Lc -86.0 Fine for body text
Black text on #AF245C 3.22:1 AA large text Lc 23.2 Dividers and decoration only
#AF245C text on white 6.50:1 AA Lc 80.8 Fine for body text
#AF245C text on black 3.22:1 AA large text Lc -21.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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3E8

    oklch(93.5% 0.025 2.1)

  3. Step 200

    200

    #F6CDD6

    oklch(88.6% 0.048 3.3)

  4. Step 300

    300

    #F0AABC

    oklch(80.9% 0.085 2.3)

  5. Step 400

    400

    #E67999

    oklch(70.7% 0.138 2.6)

  6. Step 500

    500

    #DB5180

    oklch(63.1% 0.177 2.6)

  7. Step 600

    600

    #C62E6A

    oklch(55.6% 0.192 2.3)

  8. Step 700

    700 (this color)

    #AF245C

    oklch(50.5% 0.178 2.3)

  9. Step 800

    800

    #8A1D48

    oklch(42.6% 0.147 2.3)

  10. Step 900

    900

    #6F203C

    oklch(37.7% 0.114 2.6)

  11. Step 950

    950

    #421423

    oklch(27.1% 0.073 3.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF245C 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)#464D5D0.201
Deuteranopia (no green cones)#6B67590.180
Tritanopia (no blue cones)#BE003D0.051
Achromatopsia (no color)#5E5E5E0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF245C

    #AF245C

    oklch(50.5% 0.178 2.3)

  • #007569

    #007569

    oklch(50.5% 0.09 182.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF245C

    #AF245C

    oklch(50.5% 0.178 2.3)

  • #9B3190

    #9B3190

    oklch(50.5% 0.178 332.3)

  • #B42A11

    #B42A11

    oklch(50.6% 0.178 32.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF245C

    #AF245C

    oklch(50.5% 0.178 2.3)

  • #00793D

    #00793D

    oklch(50.5% 0.131 152.5)

  • #007182

    #007182

    oklch(50.4% 0.088 212.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF245C

    #AF245C

    oklch(50.5% 0.178 2.3)

  • #596F00

    #596F00

    oklch(50.5% 0.123 122.3)

  • #006BA3

    #006BA3

    oklch(50.6% 0.12 242.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF245C

    #AF245C

    oklch(50.5% 0.178 2.3)

  • #7A6200

    #7A6200

    oklch(50.5% 0.103 92)

  • #007569

    #007569

    oklch(50.5% 0.09 182.6)

  • #4555C8

    #4555C8

    oklch(50.4% 0.178 272.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF245C.

Similar named colors

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

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