#AF276A

Closest named color: Violet Red (#A50055). oklch(51.2% 0.18 355.9), rgb(175, 39, 106).

Aa

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

About this color

#AF276A is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.180 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.047 away. White text reads best on it, at 6.32:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.180)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text3.32:1
White text6.32:1

Values

HEX#AF276A
RGBrgb(175, 39, 106)
HSLhsl(330, 64%, 42%)
OKLCHoklch(51.2% 0.18 355.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 #AF276A 6.32:1 AA Lc -85.3 Fine for body text
Black text on #AF276A 3.32:1 AA large text Lc 23.9 Dividers and decoration only
#AF276A text on white 6.32:1 AA Lc 80.1 Fine for body text
#AF276A text on black 3.32:1 AA large text Lc -21.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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F5CDDA

    oklch(88.6% 0.048 356.6)

  4. Step 300

    300

    #EFA9C2

    oklch(80.8% 0.088 356.1)

  5. Step 400

    400

    #E379A4

    oklch(70.7% 0.139 355.6)

  6. Step 500

    500

    #D8518D

    oklch(63.1% 0.178 355.9)

  7. Step 600

    600

    #C32E77

    oklch(55.6% 0.194 355.9)

  8. Step 700

    700 (this color)

    #AF276A

    oklch(51.2% 0.18 355.9)

  9. Step 800

    800

    #881D52

    oklch(42.6% 0.149 355.5)

  10. Step 900

    900

    #6E2044

    oklch(37.8% 0.116 355.7)

  11. Step 950

    950

    #411428

    oklch(27.1% 0.074 355.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF276A 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)#44506C0.202
Deuteranopia (no green cones)#6969670.181
Tritanopia (no blue cones)#BD13450.060
Achromatopsia (no color)#6060600.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF276A

    #AF276A

    oklch(51.2% 0.18 355.9)

  • #007864

    #007864

    oklch(51.2% 0.096 175.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF276A

    #AF276A

    oklch(51.2% 0.18 355.9)

  • #98359C

    #98359C

    oklch(51.1% 0.18 326.2)

  • #B72829

    #B72829

    oklch(51.1% 0.179 26)

Open the analogous palette in the generator

Split complementary

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

  • #AF276A

    #AF276A

    oklch(51.2% 0.18 355.9)

  • #007C25

    #007C25

    oklch(51% 0.156 146)

  • #00747F

    #00747F

    oklch(51.1% 0.087 206.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF276A

    #AF276A

    oklch(51.2% 0.18 355.9)

  • #646E00

    #646E00

    oklch(51.2% 0.117 115.9)

  • #006F9C

    #006F9C

    oklch(51.2% 0.109 235.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF276A

    #AF276A

    oklch(51.2% 0.18 355.9)

  • #816100

    #816100

    oklch(51.1% 0.105 86)

  • #007864

    #007864

    oklch(51.2% 0.096 175.7)

  • #355BCC

    #355BCC

    oklch(51.1% 0.181 266)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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