#AF1845

Closest named color: Raspberry (#B00149). oklch(49.1% 0.183 11.6), rgb(175, 24, 69).

Aa

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

About this color

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

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

Values

HEX#AF1845
RGBrgb(175, 24, 69)
HSLhsl(342, 76%, 39%)
OKLCHoklch(49.1% 0.183 11.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 #AF1845 6.90:1 AA Lc -87.2 Fine for body text
Black text on #AF1845 3.03:1 AA large text Lc 22.0 Dividers and decoration only
#AF1845 text on white 6.90:1 AA Lc 82.1 Fine for body text
#AF1845 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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FAE3E5

    oklch(93.5% 0.025 11.6)

  3. Step 200

    200

    #F8CDD1

    oklch(88.6% 0.049 11.8)

  4. Step 300

    300

    #F4A9B2

    oklch(80.9% 0.089 11.3)

  5. Step 400

    400

    #EA788A

    oklch(70.7% 0.141 11.4)

  6. Step 500

    500

    #E04F6D

    oklch(63.2% 0.181 11.6)

  7. Step 600

    600

    #CB2955

    oklch(55.6% 0.196 11.5)

  8. Step 700

    700 (this color)

    #AF1845

    oklch(49.1% 0.183 11.6)

  9. Step 800

    800

    #8E1939

    oklch(42.6% 0.151 11.5)

  10. Step 900

    900

    #721E31

    oklch(37.7% 0.117 11.6)

  11. Step 950

    950

    #43131D

    oklch(26.9% 0.074 11)

Export this scale for Tailwind in the Tailwind colors tool

#AF1845 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)#4747460.205
Deuteranopia (no green cones)#6D65410.187
Tritanopia (no blue cones)#C0002D0.044
Achromatopsia (no color)#5A5A5A0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1845

    #AF1845

    oklch(49.1% 0.183 11.6)

  • #006F6D

    #006F6D

    oklch(49% 0.084 192.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1845

    #AF1845

    oklch(49.1% 0.183 11.6)

  • #9F247D

    #9F247D

    oklch(49% 0.182 341.7)

  • #A23A00

    #A23A00

    oklch(49% 0.149 41.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF1845

    #AF1845

    oklch(49.1% 0.183 11.6)

  • #00734D

    #00734D

    oklch(49.1% 0.108 161.8)

  • #006B85

    #006B85

    oklch(48.9% 0.091 222.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1845

    #AF1845

    oklch(49.1% 0.183 11.6)

  • #436F00

    #436F00

    oklch(49% 0.135 131.5)

  • #0061AF

    #0061AF

    oklch(49% 0.146 251.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1845

    #AF1845

    oklch(49.1% 0.183 11.6)

  • #6D6200

    #6D6200

    oklch(49.1% 0.103 101.8)

  • #006F6D

    #006F6D

    oklch(49% 0.084 192.6)

  • #5549C3

    #5549C3

    oklch(49% 0.183 281.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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