#CA71B7

Closest named color: Pale Magenta (#D767AD). oklch(67.1% 0.142 335.5), rgb(202, 113, 183).

Aa

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

About this color

#CA71B7 is a medium-light, vivid pink. In OKLCH its lightness is 67%, its chroma 0.142 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.030 away. Black text reads best on it, at 6.55:1.

Hue familyPinks
Lightnessmedium-light (67%)
Chromavivid (0.142)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.55:1
White text3.20:1

Values

HEX#CA71B7
RGBrgb(202, 113, 183)
HSLhsl(313, 46%, 62%)
OKLCHoklch(67.1% 0.142 335.5)

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 #CA71B7 3.20:1 AA large text Lc -64.3 Content text, not long reading
Black text on #CA71B7 6.55:1 AA Lc 45.1 Large or bold text, headings
#CA71B7 text on white 3.20:1 AA large text Lc 58.9 Large or bold text, headings
#CA71B7 text on black 6.55:1 AA Lc -42.8 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 400.

  1. Step 50

    50

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F6E4F1

    oklch(93.7% 0.026 335.5)

  3. Step 200

    200

    #EFCDE6

    oklch(88.4% 0.05 335.4)

  4. Step 300

    300

    #E5ABD7

    oklch(80.8% 0.089 335.3)

  5. Step 400

    400 (this color)

    #CA71B7

    oklch(67.1% 0.142 335.5)

  6. Step 500

    500

    #C957B3

    oklch(63.1% 0.18 335.6)

  7. Step 600

    600

    #B4369F

    oklch(55.6% 0.197 335.4)

  8. Step 700

    700

    #9B2788

    oklch(49.2% 0.184 335.6)

  9. Step 800

    800

    #7E236E

    oklch(42.7% 0.152 335.8)

  10. Step 900

    900

    #662359

    oklch(37.8% 0.118 336.1)

  11. Step 950

    950

    #3C1634

    oklch(27.1% 0.074 336.2)

Export this scale for Tailwind in the Tailwind colors tool

#CA71B7 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)#7288B90.143
Deuteranopia (no green cones)#8995B40.131
Tritanopia (no blue cones)#D2758C0.070
Achromatopsia (no color)#9090900.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA71B7

    #CA71B7

    oklch(67.1% 0.142 335.5)

  • #38AE6F

    #38AE6F

    oklch(67% 0.141 155.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA71B7

    #CA71B7

    oklch(67.1% 0.142 335.5)

  • #AA7DDA

    #AA7DDA

    oklch(67.1% 0.141 305.2)

  • #DC6C89

    #DC6C89

    oklch(67% 0.142 5.3)

Open the analogous palette in the generator

Split complementary

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

  • #CA71B7

    #CA71B7

    oklch(67.1% 0.142 335.5)

  • #81A437

    #81A437

    oklch(67.1% 0.141 125.3)

  • #00AC9F

    #00AC9F

    oklch(67% 0.118 185.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA71B7

    #CA71B7

    oklch(67.1% 0.142 335.5)

  • #AF9400

    #AF9400

    oklch(67.1% 0.138 96)

  • #00A7C3

    #00A7C3

    oklch(67.1% 0.119 215.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA71B7

    #CA71B7

    oklch(67.1% 0.142 335.5)

  • #CF811C

    #CF811C

    oklch(67.1% 0.141 65.9)

  • #38AE6F

    #38AE6F

    oklch(67% 0.141 155.7)

  • #3B9CE6

    #3B9CE6

    oklch(67% 0.142 245.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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