#AF1545

Closest named color: Raspberry (#B00149). oklch(48.9% 0.184 11.3), rgb(175, 21, 69).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.01:1
White text6.96:1

Values

HEX#AF1545
RGBrgb(175, 21, 69)
HSLhsl(341, 79%, 38%)
OKLCHoklch(48.9% 0.184 11.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 #AF1545 6.96:1 AA Lc -87.3 Fine for body text
Black text on #AF1545 3.01:1 AA large text Lc 21.8 Dividers and decoration only
#AF1545 text on white 6.96:1 AA Lc 82.2 Fine for body text
#AF1545 text on black 3.01:1 AA large text Lc -19.7 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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FBE3E5

    oklch(93.6% 0.026 11.9)

  3. Step 200

    200

    #F8CCD1

    oklch(88.4% 0.05 10.5)

  4. Step 300

    300

    #F4A9B2

    oklch(80.9% 0.089 11.3)

  5. Step 400

    400

    #EB778A

    oklch(70.7% 0.144 11.1)

  6. Step 500

    500

    #E04E6D

    oklch(63% 0.182 11.3)

  7. Step 600

    600

    #CC2755

    oklch(55.6% 0.199 11.4)

  8. Step 700

    700 (this color)

    #AF1545

    oklch(48.9% 0.184 11.3)

  9. Step 800

    800

    #8F1839

    oklch(42.8% 0.153 11.5)

  10. Step 900

    900

    #731D31

    oklch(37.7% 0.119 11.5)

  11. Step 950

    950

    #44131D

    oklch(27.1% 0.076 11.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF1545 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)#4646460.207
Deuteranopia (no green cones)#6C64410.188
Tritanopia (no blue cones)#C0002C0.045
Achromatopsia (no color)#5959590.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1545

    #AF1545

    oklch(48.9% 0.184 11.3)

  • #006F6C

    #006F6C

    oklch(48.9% 0.084 191.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1545

    #AF1545

    oklch(48.9% 0.184 11.3)

  • #9F227E

    #9F227E

    oklch(48.9% 0.184 341.2)

  • #A23900

    #A23900

    oklch(48.9% 0.15 41.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF1545

    #AF1545

    oklch(48.9% 0.184 11.3)

  • #00724C

    #00724C

    oklch(48.8% 0.108 161.6)

  • #006B84

    #006B84

    oklch(48.9% 0.09 221.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1545

    #AF1545

    oklch(48.9% 0.184 11.3)

  • #436F00

    #436F00

    oklch(49% 0.135 131.5)

  • #0061AE

    #0061AE

    oklch(48.9% 0.144 251.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1545

    #AF1545

    oklch(48.9% 0.184 11.3)

  • #6D6100

    #6D6100

    oklch(48.9% 0.102 100.9)

  • #006F6C

    #006F6C

    oklch(48.9% 0.084 191.5)

  • #5449C3

    #5449C3

    oklch(48.9% 0.183 281.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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