#C271B4

Closest named color: Pale Magenta (#D767AD). oklch(66% 0.133 333.6), rgb(194, 113, 180).

Aa

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

About this color

#C271B4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.133 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.31:1.

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

Values

HEX#C271B4
RGBrgb(194, 113, 180)
HSLhsl(310, 40%, 60%)
OKLCHoklch(66% 0.133 333.6)

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 #C271B4 3.32:1 AA large text Lc -65.8 Content text, not long reading
Black text on #C271B4 6.31:1 AA Lc 43.7 Non-text elements, placeholder text
#C271B4 text on white 3.32:1 AA large text Lc 60.4 Content text, not long reading
#C271B4 text on black 6.31: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

    #DBB1D2

    oklch(80.8% 0.065 333.7)

  5. Step 400

    400

    #C888BC

    oklch(70.8% 0.104 333.5)

  6. Step 500

    500 (this color)

    #C271B4

    oklch(66% 0.133 333.6)

  7. Step 600

    600

    #A44E96

    oklch(55.6% 0.145 333.9)

  8. Step 700

    700

    #8C3E80

    oklch(49% 0.135 333.7)

  9. Step 800

    800

    #723468

    oklch(42.7% 0.112 333.8)

  10. Step 900

    900

    #5C2E55

    oklch(37.7% 0.087 333.1)

  11. Step 950

    950

    #361B32

    oklch(26.9% 0.056 332.6)

Export this scale for Tailwind in the Tailwind colors tool

#C271B4 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)#7086B60.132
Deuteranopia (no green cones)#8591B20.120
Tritanopia (no blue cones)#C9758A0.068
Achromatopsia (no color)#8D8D8D0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #C271B4

    #C271B4

    oklch(66% 0.133 333.6)

  • #43A96B

    #43A96B

    oklch(65.9% 0.133 153.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C271B4

    #C271B4

    oklch(66% 0.133 333.6)

  • #A37CD4

    #A37CD4

    oklch(65.9% 0.133 303.4)

  • #D46C89

    #D46C89

    oklch(66% 0.134 3.7)

Open the analogous palette in the generator

Split complementary

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

  • #C271B4

    #C271B4

    oklch(66% 0.133 333.6)

  • #829F39

    #829F39

    oklch(65.9% 0.133 123.6)

  • #00A99A

    #00A99A

    oklch(66% 0.117 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C271B4

    #C271B4

    oklch(66% 0.133 333.6)

  • #AD8F0B

    #AD8F0B

    oklch(65.9% 0.133 93.6)

  • #00A4BD

    #00A4BD

    oklch(66.1% 0.116 213.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C271B4

    #C271B4

    oklch(66% 0.133 333.6)

  • #CA7E2A

    #CA7E2A

    oklch(66% 0.133 63.6)

  • #43A96B

    #43A96B

    oklch(65.9% 0.133 153.7)

  • #3B9ADD

    #3B9ADD

    oklch(66.1% 0.133 243.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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