#C271B3

Closest named color: Pale Magenta (#D767AD). oklch(65.9% 0.132 334.1), rgb(194, 113, 179).

Aa

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

About this color

#C271B3 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.132 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.040 away. Black text reads best on it, at 6.30:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest namePale Magenta (#D767AD)
Black text6.30:1
White text3.32:1

Values

HEX#C271B3
RGBrgb(194, 113, 179)
HSLhsl(311, 40%, 60%)
OKLCHoklch(65.9% 0.132 334.1)

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 #C271B3 3.32:1 AA large text Lc -65.9 Content text, not long reading
Black text on #C271B3 6.30:1 AA Lc 43.6 Non-text elements, placeholder text
#C271B3 text on white 3.32:1 AA large text Lc 60.4 Content text, not long reading
#C271B3 text on black 6.30:1 AA Lc -41.3 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

    #F2E5EF

    oklch(93.5% 0.019 333.5)

  3. Step 200

    200

    #E9D1E3

    oklch(88.6% 0.036 334.5)

  4. Step 300

    300

    #DBB2D2

    oklch(81% 0.064 333.9)

  5. Step 400

    400

    #C888BB

    oklch(70.7% 0.103 334.2)

  6. Step 500

    500 (this color)

    #C271B3

    oklch(65.9% 0.132 334.1)

  7. Step 600

    600

    #A44E95

    oklch(55.6% 0.144 334.4)

  8. Step 700

    700

    #8C3F7F

    oklch(49.1% 0.133 334.3)

  9. Step 800

    800

    #723468

    oklch(42.7% 0.112 333.8)

  10. Step 900

    900

    #5C2E54

    oklch(37.6% 0.086 334)

  11. Step 950

    950

    #361B31

    oklch(26.9% 0.055 334.2)

Export this scale for Tailwind in the Tailwind colors tool

#C271B3 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)#7185B50.131
Deuteranopia (no green cones)#8691B10.119
Tritanopia (no blue cones)#C9758A0.067
Achromatopsia (no color)#8D8D8D0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #C271B3

    #C271B3

    oklch(65.9% 0.132 334.1)

  • #43A96C

    #43A96C

    oklch(65.9% 0.132 154.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C271B3

    #C271B3

    oklch(65.9% 0.132 334.1)

  • #A47CD3

    #A47CD3

    oklch(66% 0.132 304.2)

  • #D36C88

    #D36C88

    oklch(65.8% 0.132 4.1)

Open the analogous palette in the generator

Split complementary

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

  • #C271B3

    #C271B3

    oklch(65.9% 0.132 334.1)

  • #819F3B

    #819F3B

    oklch(65.9% 0.132 124.1)

  • #00A99A

    #00A99A

    oklch(66% 0.117 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C271B3

    #C271B3

    oklch(65.9% 0.132 334.1)

  • #AD900F

    #AD900F

    oklch(66.1% 0.132 94.1)

  • #00A3BD

    #00A3BD

    oklch(65.8% 0.116 214.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C271B3

    #C271B3

    oklch(65.9% 0.132 334.1)

  • #C97E2A

    #C97E2A

    oklch(65.9% 0.132 64)

  • #43A96C

    #43A96C

    oklch(65.9% 0.132 154.1)

  • #3D99DC

    #3D99DC

    oklch(65.8% 0.132 244)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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