#AF0B4D

Closest named color: Raspberry (#B00149). oklch(48.7% 0.19 6.9), rgb(175, 11, 77).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.190)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text2.97:1
White text7.05:1

Values

HEX#AF0B4D
RGBrgb(175, 11, 77)
HSLhsl(336, 88%, 36%)
OKLCHoklch(48.7% 0.19 6.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 #AF0B4D 7.05:1 AAA Lc -87.4 Fine for body text
Black text on #AF0B4D 2.97:1 Fails Lc 21.8 Dividers and decoration only
#AF0B4D text on white 7.05:1 AAA Lc 82.3 Fine for body text
#AF0B4D text on black 2.97:1 Fails Lc -19.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

    #FBE3E7

    oklch(93.6% 0.027 6.2)

  3. Step 200

    200

    #F8CCD3

    oklch(88.5% 0.05 7.4)

  4. Step 300

    300

    #F5A8B6

    oklch(81% 0.092 7.4)

  5. Step 400

    400

    #EB7591

    oklch(70.6% 0.148 6.6)

  6. Step 500

    500

    #E14B76

    oklch(63.1% 0.188 6.9)

  7. Step 600

    600

    #CC225F

    oklch(55.6% 0.204 6.8)

  8. Step 700

    700 (this color)

    #AF0B4D

    oklch(48.7% 0.19 6.9)

  9. Step 800

    800

    #8F1440

    oklch(42.7% 0.157 7)

  10. Step 900

    900

    #731B36

    oklch(37.7% 0.123 7.1)

  11. Step 950

    950

    #441220

    oklch(27% 0.078 6.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF0B4D 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)#41454E0.217
Deuteranopia (no green cones)#6A63490.193
Tritanopia (no blue cones)#C0002E0.055
Achromatopsia (no color)#5959590.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0B4D

    #AF0B4D

    oklch(48.7% 0.19 6.9)

  • #006F68

    #006F68

    oklch(48.8% 0.085 187.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0B4D

    #AF0B4D

    oklch(48.7% 0.19 6.9)

  • #9D2086

    #9D2086

    oklch(48.8% 0.19 337)

  • #A72F00

    #A72F00

    oklch(48.6% 0.163 36.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF0B4D

    #AF0B4D

    oklch(48.7% 0.19 6.9)

  • #007244

    #007244

    oklch(48.6% 0.115 157.2)

  • #006B80

    #006B80

    oklch(48.7% 0.087 217.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0B4D

    #AF0B4D

    oklch(48.7% 0.19 6.9)

  • #4C6C00

    #4C6C00

    oklch(48.8% 0.126 127.2)

  • #0063A3

    #0063A3

    oklch(48.6% 0.128 247.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0B4D

    #AF0B4D

    oklch(48.7% 0.19 6.9)

  • #705F00

    #705F00

    oklch(48.7% 0.1 96.9)

  • #006F68

    #006F68

    oklch(48.8% 0.085 187.2)

  • #4A4AC8

    #4A4AC8

    oklch(48.8% 0.19 276.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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