#C271AF

Closest named color: Pale Magenta (#D767AD). oklch(65.8% 0.129 336.2), rgb(194, 113, 175).

Aa

Black text reads best on this color (6.27:1).

About this color

#C271AF is a medium-light, moderately saturated pink. In OKLCH its lightness is 66%, its chroma 0.129 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.040 away. Black text reads best on it, at 6.27:1.

Hue familyPinks
Lightnessmedium-light (66%)
Chromamoderately saturated (0.129)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.27:1
White text3.34:1

Values

HEX#C271AF
RGBrgb(194, 113, 175)
HSLhsl(314, 40%, 60%)
OKLCHoklch(65.8% 0.129 336.2)

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 #C271AF 3.34:1 AA large text Lc -66.1 Content text, not long reading
Black text on #C271AF 6.27:1 AA Lc 43.4 Non-text elements, placeholder text
#C271AF text on white 3.34:1 AA large text Lc 60.6 Content text, not long reading
#C271AF text on black 6.27:1 AA Lc -41.1 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5EE

    oklch(93.5% 0.018 336.6)

  3. Step 200

    200

    #E9D1E2

    oklch(88.5% 0.035 336.2)

  4. Step 300

    300

    #DCB2D0

    oklch(81% 0.063 336.6)

  5. Step 400

    400

    #C988B8

    oklch(70.7% 0.101 336.6)

  6. Step 500

    500 (this color)

    #C271AF

    oklch(65.8% 0.129 336.2)

  7. Step 600

    600

    #A44F92

    oklch(55.6% 0.14 336)

  8. Step 700

    700

    #8D3F7C

    oklch(49.1% 0.131 336.5)

  9. Step 800

    800

    #723565

    oklch(42.7% 0.107 336)

  10. Step 900

    900

    #5D2E52

    oklch(37.7% 0.085 336.6)

  11. Step 950

    950

    #361C30

    oklch(27% 0.052 336)

Export this scale for Tailwind in the Tailwind colors tool

#C271AF 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)#7285B10.130
Deuteranopia (no green cones)#8791AD0.118
Tritanopia (no blue cones)#CA74880.063
Achromatopsia (no color)#8C8C8C0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #C271AF

    #C271AF

    oklch(65.8% 0.129 336.2)

  • #40A870

    #40A870

    oklch(65.6% 0.128 156.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C271AF

    #C271AF

    oklch(65.8% 0.129 336.2)

  • #A57BCF

    #A57BCF

    oklch(65.7% 0.129 306.2)

  • #D26D85

    #D26D85

    oklch(65.7% 0.129 6.2)

Open the analogous palette in the generator

Split complementary

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

  • #C271AF

    #C271AF

    oklch(65.8% 0.129 336.2)

  • #7D9F41

    #7D9F41

    oklch(65.7% 0.128 126.4)

  • #00A89C

    #00A89C

    oklch(65.8% 0.115 185.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C271AF

    #C271AF

    oklch(65.8% 0.129 336.2)

  • #A9901A

    #A9901A

    oklch(65.7% 0.128 95.9)

  • #00A2BF

    #00A2BF

    oklch(65.6% 0.117 216.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C271AF

    #C271AF

    oklch(65.8% 0.129 336.2)

  • #C6802B

    #C6802B

    oklch(65.9% 0.129 66.5)

  • #40A870

    #40A870

    oklch(65.6% 0.128 156.4)

  • #4598DB

    #4598DB

    oklch(65.8% 0.128 245.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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