#AF234C

Closest named color: Raspberry (#B00149). oklch(49.9% 0.175 9.9), rgb(175, 35, 76).

Aa

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

About this color

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

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

Values

HEX#AF234C
RGBrgb(175, 35, 76)
HSLhsl(342, 67%, 41%)
OKLCHoklch(49.9% 0.175 9.9)

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 #AF234C 6.62:1 AA Lc -86.4 Fine for body text
Black text on #AF234C 3.16:1 AA large text Lc 22.8 Dividers and decoration only
#AF234C text on white 6.62:1 AA Lc 81.3 Fine for body text
#AF234C text on black 3.16:1 AA large text Lc -20.6 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

    #FAE4E6

    oklch(93.7% 0.024 11.3)

  3. Step 200

    200

    #F6CDD2

    oklch(88.5% 0.047 9.8)

  4. Step 300

    300

    #F2AAB4

    oklch(80.9% 0.086 10)

  5. Step 400

    400

    #E77A8D

    oklch(70.7% 0.135 10.1)

  6. Step 500

    500

    #DC5271

    oklch(63% 0.173 9.9)

  7. Step 600

    600

    #C82F5A

    oklch(55.6% 0.189 9.8)

  8. Step 700

    700 (this color)

    #AF234C

    oklch(49.9% 0.175 9.9)

  9. Step 800

    800

    #8C1E3D

    oklch(42.8% 0.145 9.8)

  10. Step 900

    900

    #702034

    oklch(37.6% 0.113 9.5)

  11. Step 950

    950

    #42141E

    oklch(26.9% 0.072 10)

Export this scale for Tailwind in the Tailwind colors tool

#AF234C 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)#4A4B4D0.197
Deuteranopia (no green cones)#6E67480.180
Tritanopia (no blue cones)#BF00350.042
Achromatopsia (no color)#5D5D5D0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF234C

    #AF234C

    oklch(49.9% 0.175 9.9)

  • #00726E

    #00726E

    oklch(49.8% 0.086 190.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF234C

    #AF234C

    oklch(49.9% 0.175 9.9)

  • #9F2C82

    #9F2C82

    oklch(49.9% 0.176 339.8)

  • #A93800

    #A93800

    oklch(50% 0.158 39.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF234C

    #AF234C

    oklch(49.9% 0.175 9.9)

  • #00764C

    #00764C

    oklch(49.9% 0.113 160)

  • #006E87

    #006E87

    oklch(49.8% 0.091 220.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF234C

    #AF234C

    oklch(49.9% 0.175 9.9)

  • #497100

    #497100

    oklch(50% 0.134 129.8)

  • #0065AF

    #0065AF

    oklch(49.9% 0.141 250)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF234C

    #AF234C

    oklch(49.9% 0.175 9.9)

  • #716400

    #716400

    oklch(50% 0.104 100.4)

  • #00726E

    #00726E

    oklch(49.8% 0.086 190.5)

  • #544FC3

    #544FC3

    oklch(50% 0.176 279.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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