#AF1258

Closest named color: Raspberry (#B00149). oklch(49.3% 0.19 2.4), rgb(175, 18, 88).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.190)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.05:1
White text6.88:1

Values

HEX#AF1258
RGBrgb(175, 18, 88)
HSLhsl(333, 81%, 38%)
OKLCHoklch(49.3% 0.19 2.4)

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 #AF1258 6.88:1 AA Lc -87.0 Fine for body text
Black text on #AF1258 3.05:1 AA large text Lc 22.2 Dividers and decoration only
#AF1258 text on white 6.88:1 AA Lc 81.9 Fine for body text
#AF1258 text on black 3.05:1 AA large text Lc -20.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

    #FAE3E8

    oklch(93.6% 0.026 2.8)

  3. Step 200

    200

    #F7CCD6

    oklch(88.5% 0.05 2.5)

  4. Step 300

    300

    #F3A8BB

    oklch(80.9% 0.091 2.7)

  5. Step 400

    400

    #E97699

    oklch(70.7% 0.146 2.2)

  6. Step 500

    500

    #DF4B80

    oklch(63.1% 0.188 2.2)

  7. Step 600

    600

    #CA2369

    oklch(55.5% 0.204 2.3)

  8. Step 700

    700 (this color)

    #AF1258

    oklch(49.3% 0.19 2.4)

  9. Step 800

    800

    #8E1548

    oklch(42.8% 0.158 2.3)

  10. Step 900

    900

    #721C3C

    oklch(37.8% 0.122 2.5)

  11. Step 950

    950

    #431223

    oklch(27% 0.077 2.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF1258 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)#4047590.216
Deuteranopia (no green cones)#6964540.192
Tritanopia (no blue cones)#BF00350.059
Achromatopsia (no color)#5A5A5A0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1258

    #AF1258

    oklch(49.3% 0.19 2.4)

  • #007165

    #007165

    oklch(49.2% 0.088 182.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1258

    #AF1258

    oklch(49.3% 0.19 2.4)

  • #9A268F

    #9A268F

    oklch(49.3% 0.189 332.3)

  • #B21F00

    #B21F00

    oklch(49.3% 0.185 32.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF1258

    #AF1258

    oklch(49.3% 0.19 2.4)

  • #00753B

    #00753B

    oklch(49.3% 0.128 152.5)

  • #006E7E

    #006E7E

    oklch(49.4% 0.086 212.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1258

    #AF1258

    oklch(49.3% 0.19 2.4)

  • #566B00

    #566B00

    oklch(49.3% 0.12 122.1)

  • #00679E

    #00679E

    oklch(49.3% 0.118 242.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1258

    #AF1258

    oklch(49.3% 0.19 2.4)

  • #765F00

    #765F00

    oklch(49.4% 0.101 92.3)

  • #007165

    #007165

    oklch(49.2% 0.088 182.2)

  • #414FCA

    #414FCA

    oklch(49.3% 0.189 272.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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