#AF1730

Closest named color: Rouge (#AB1239). oklch(48.6% 0.183 20.3), rgb(175, 23, 48).

Aa

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

About this color

#AF1730 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.183 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.017 away. White text reads best on it, at 7.02:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.183)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.98:1
White text7.02:1

Values

HEX#AF1730
RGBrgb(175, 23, 48)
HSLhsl(350, 77%, 39%)
OKLCHoklch(48.6% 0.183 20.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 #AF1730 7.02:1 AAA Lc -87.5 Fine for body text
Black text on #AF1730 2.98:1 Fails Lc 21.6 Dividers and decoration only
#AF1730 text on white 7.02:1 AAA Lc 82.5 Fine for body text
#AF1730 text on black 2.98:1 Fails Lc -19.4 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

    #FDF2F2

    oklch(97% 0.012 17.4)

  2. Step 100

    100

    #FBE4E3

    oklch(93.7% 0.025 20.6)

  3. Step 200

    200

    #F8CDCC

    oklch(88.5% 0.049 19.7)

  4. Step 300

    300

    #F5AAA9

    oklch(81% 0.089 20)

  5. Step 400

    400

    #EB797B

    oklch(70.6% 0.141 20.2)

  6. Step 500

    500

    #E2505A

    oklch(63.2% 0.181 20.1)

  7. Step 600

    600

    #CD2B3F

    oklch(55.6% 0.196 20.5)

  8. Step 700

    700 (this color)

    #AF1730

    oklch(48.6% 0.183 20.3)

  9. Step 800

    800

    #901A29

    oklch(42.8% 0.152 20.5)

  10. Step 900

    900

    #731F26

    oklch(37.7% 0.117 20.3)

  11. Step 950

    950

    #441416

    oklch(27% 0.074 21.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF1730 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)#4A45300.202
Deuteranopia (no green cones)#6F642B0.184
Tritanopia (no blue cones)#C100230.037
Achromatopsia (no color)#5959590.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1730

    #AF1730

    oklch(48.6% 0.183 20.3)

  • #006D72

    #006D72

    oklch(48.6% 0.083 200.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1730

    #AF1730

    oklch(48.6% 0.183 20.3)

  • #A41D6D

    #A41D6D

    oklch(48.6% 0.183 350.3)

  • #964400

    #964400

    oklch(48.5% 0.128 50)

Open the analogous palette in the generator

Split complementary

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

  • #AF1730

    #AF1730

    oklch(48.6% 0.183 20.3)

  • #007057

    #007057

    oklch(48.5% 0.096 170.4)

  • #00688C

    #00688C

    oklch(48.5% 0.098 231)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1730

    #AF1730

    oklch(48.6% 0.183 20.3)

  • #1E7300

    #1E7300

    oklch(48.6% 0.157 140.2)

  • #1357C4

    #1357C4

    oklch(48.6% 0.183 260.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1730

    #AF1730

    oklch(48.6% 0.183 20.3)

  • #636400

    #636400

    oklch(48.6% 0.106 110.5)

  • #006D72

    #006D72

    oklch(48.6% 0.083 200.4)

  • #6342BD

    #6342BD

    oklch(48.6% 0.183 290.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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